Difference between revisions of "SUB"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= {B2} {{IE_B2}} = Subtracts the immediate from the current value. Can overflow. See Also: {B0} {{IE_B0}} ― Event_Instr...")
 
m (Xifanie moved page Event Instruction B2 to SUB)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= [[Event_Instruction_B2|{B2} {{IE_B2}}]] =
+
= {B2} {{IE_B2}} =
Subtracts the immediate from the current value. Can overflow.
+
{{IE_B2_ex}}
  
 +
{{IE_B2_desc}}
  
See Also: [[Event_Instruction_B0|{B0} {{IE_B0}}]] ― [[Event_Instruction_B4|{B4} {{IE_B4}}]] ― [[Event_Instruction_B6|{B6} {{IE_B6}}]] ― [[Event_Instruction_B8|{B8} {{IE_B8}}]] ― [[Event_Instruction_B9|{B9} {{IE_B9}}]] ― [[Event_Instruction_BA|{BA} {{IE_BA}}]] ― [[Event_Instruction_BC|{BC} {{IE_BC}}]] ― [[Event_Instruction_BE|{BE} {{IE_BE}}]]
 
  
 +
See also: [[Event_Instruction_B3|{B3} {{IE_B3}}]] ― [[Event_Instruction_BE|{BE} {{IE_BE}}]]
  
 +
 +
== Variable : Half-Word (hex) ==
 
{{Variables}}
 
{{Variables}}
  
  
 
{{Immediate}}
 
{{Immediate}}

Latest revision as of 04:58, 23 February 2021

{B2} SUB

SUB(xVARI,xVALU)

Subtract Immediate | Variable = Variable - ImmediateValue (Can overflow)


See also: {B3} SUBVar{BE} ZERO


Variable : Half-Word (hex)

Click here for the list of Variables


Immediate Value : Half-Word (hex)

Value that will be use along with the operand to change the address' value.