65
edits
Changes
From Final Fantasy Inside
m
==== Description ====Divides “Dest†ââ¬ÅDestââ¬Â by “Den†ââ¬ÅDenââ¬Â and stores the remainder back into “Destâ€Ã¢â¬ÅDestââ¬Â.If the Source Bank is 0 then the “Den†ââ¬ÅDenââ¬Â is the denominator.If the Source Bank is an 16 bit bank, then the “Den†ââ¬ÅDenââ¬Â is the address in that bank where the denominator is.
3 revisions imported
* Long name: Modulus (16-bit)
==== Memory layout ==== {| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x8E
! width="40" | ''D/S''
|}
==== Arguments ==== * '''const Bit[4]''' ''D''<nowiki>: Destination bank</nowiki>* '''const Bit[4]''' ''S''<nowiki>: Source bank</nowiki>* '''const UByte''' ''Dest''<nowiki>: Contains the nominator of the division and receives the remainder.</nowiki>* '''const SWord''' ''Den''<nowiki>: The denominator of the division.</nowiki> ==== Description ====