Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/9A LBYTE

838 bytes added, 20:05, 7 September 2006
no edit summary
* Opcode: '''0x9A'''
* Short name: '''LBYTE'''
* Long name: Low Byte

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x9A
! width="40" | ''D / S''
! width="40" | ''DA''
! width="40" | ''DS''
|}

==== Arguments ====

* '''const Bit[4]''' ''D'': Destination bank
* '''const Bit[4]''' ''S'': Source bank
* '''const UByte''' ''DA'': Destination address
* '''const UByte''' ''DS'': Source address

==== Description ====

Retrieves the low byte of a two-byte word from the source bank and address, and place the byte value into the destination bank and address. If the source is an 8-bit bank, this will simply copy the value from source to destination; if the destination is a 16-bit bank, the high byte of the destination will remain unchanged.