Description:
Pop the top byte off of the stack and logical AND it to the new top byte on the stack.
Pseudo Code:
byteVal = stack[sp - 1]
sp = sp - 1
stack[sp - 1] = stack[sp - 1] & byteVal
pc = pc + 1
Flags Affected:
Possible Errors:
Example:
andb
Before
| stack | | | top | | 1 | 0xF8 | | 2 | 0x3E | | | bottom |
|
| | |
version: 1.0, build n.a.
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.