Difference between revisions of "DIV"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= {B6} {{IE_B6}} = Divides the current value by the immediate. (low 32bit) Use this instruction for general division. See Also: {B0} {{IE_B0}} ― ...")
 
m (Xifanie moved page Event Instruction B6 to DIV)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= {B6} {{IE_B6}} =
 
= {B6} {{IE_B6}} =
Divides the current value by the immediate. (low 32bit)
+
{{IE_B6_ex}}
  
Use this instruction for general division.
+
{{IE_B6_desc}}
  
  
See Also: [[Event_Instruction_B0|{B0} {{IE_B0}}]] ― [[Event_Instruction_B2|{B2} {{IE_B2}}]] ― [[Event_Instruction_B4|{B4} {{IE_B4}}]] ― [[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_B7|{B7} {{IE_B7}}]] ― [[Event_Instruction_B9|{B9} {{IE_B9}}]] ― [[Event_Instruction_BE|{BE} {{IE_BE}}]]
  
  
 +
== Variable : Half-Word (hex) ==
 
{{Variables}}
 
{{Variables}}
  
  
 
{{Immediate}}
 
{{Immediate}}

Latest revision as of 04:59, 23 February 2021

{B6} DIV

DIV(xVARI,xVALU)

Divide Immediate | Variable = Variable ÷ ImmediateValue (low 32bit)

Use this instruction for general division.


See also: {B7} DIVVar{B9} MODVar{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.