Difference between revisions of "ADD"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= ADD = Adds the immediate to the current value. Can overflow. See Also: {B2}SUB {B4}MULT [[Event_Instruction_B6|{B6}DIV]...")
 
m (Xifanie moved page Event Instruction B0 to ADD)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= ADD =
+
= {B0} {{IE_B0}} =
Adds the immediate to the current value. Can overflow.
+
{{IE_B0_ex}}
  
 +
{{IE_B0_desc}}
  
See Also: [[Event_Instruction_B2|{B2}SUB]]  [[Event_Instruction_B4|{B4}MULT]]  [[Event_Instruction_B6|{B6}DIV]]  [[Event_Instruction_B8|{B8}MULTHI]]  [[Event_Instruction_B9|{B9}DIVHI]]  [[Event_Instruction_BA|{BA}AND]]  [[Event_Instruction_BC|{BC}OR]]  [[Event_Instruction_BE|{BE}ZERO]]
 
  
 +
See also: [[Event_Instruction_B1|{B1} {{IE_B1}}]] ― [[Event_Instruction_BE|{BE} {{IE_BE}}]]
  
== Address : Half-Word (hex) ==
 
{{Template:Variables}}
 
  
 +
== Variable : Half-Word (hex) ==
 +
{{Variables}}
  
== Immediate : Half-Word (hex) ==
+
 
Value that will be use along with the operand to change the address' value.
+
{{Immediate}}

Latest revision as of 04:58, 23 February 2021

{B0} ADD

ADD(xVARI,xVALU)

Add Immediate | Variable = Variable + ImmediateValue (Can overflow)


See also: {B1} ADDVar{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.