Changes
Jump to navigation
Jump to search
no edit summary
* Opcode: '''0x83'''
* Short name: '''BITOFF'''
* Long name: Reset Bit
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x83
! width="40" | ''D / S''
! width="40" | ''Dest''
! width="40" | ''Bit''
|}
==== Arguments ====
* '''const Bit[4]''' ''D'': Destination bank.
* '''const Bit[4]''' ''S'': Source bank.
* '''const UByte''' ''Dest'': Destination address.
* '''const Short''' ''Bit'':The number of the bit to turn off.
==== Description ====
Sets the nth bit in the "Dest" location, where n is a number between 0-7 supplied in "Bit".
A value of zero in "Bit" will reset the least significant bit.
If the Source Bank is 0 then the bit to be set is taken from "Bit".
If the Source Bank is an 8 bit bank, then the “Bit†is the address in that bank where the operand is.
* Short name: '''BITOFF'''
* Long name: Reset Bit
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x83
! width="40" | ''D / S''
! width="40" | ''Dest''
! width="40" | ''Bit''
|}
==== Arguments ====
* '''const Bit[4]''' ''D'': Destination bank.
* '''const Bit[4]''' ''S'': Source bank.
* '''const UByte''' ''Dest'': Destination address.
* '''const Short''' ''Bit'':The number of the bit to turn off.
==== Description ====
Sets the nth bit in the "Dest" location, where n is a number between 0-7 supplied in "Bit".
A value of zero in "Bit" will reset the least significant bit.
If the Source Bank is 0 then the bit to be set is taken from "Bit".
If the Source Bank is an 8 bit bank, then the “Bit†is the address in that bank where the operand is.