65
edits
Changes
Jump to navigation
Jump to search
m
Adds two numbers together Subtracts "Oper" from "Dest" and stores the result back into "Dest". The result of the addition subtraction is capped at -32768. The result is not capped at 255the positive end (32767), so subtracting a large negative number from a large positive number will still produce wrap-around.If the Source Bank is 0 then the “Oper†is added to subtracted from the destination value.If the Source Bank is an 8 16 bit bank, then the “Oper†is the address in that bank where the operand is.
5 revisions imported
! width="40" | ''D/S''
! width="40" | ''Dest''
! width="4080" | ''Oper''
|}
* '''const Bit[4]''' ''D'': Destination bank
* '''const Bit[4]''' ''S'': Source bank
* '''const UByte''' ''Dest'': The destination variable, to which the operand is addedsubtracted.* '''const UByteSWord''' ''Oper'': The operand, added to be subtracted from the destination.
==== Description ====