Difference between revisions of "ADD"
From GbdevWiki
(New page: ADD is an assembly opcode. = add a,reg8 = Adds the contents of an 8-bit register to the contents of accumulator and stores the result in accumulator. $80: add a,b $81: add a,c $82: add a...) |
|||
Line 4: | Line 4: | ||
Adds the contents of an 8-bit register to the contents of accumulator and stores the result in accumulator. | Adds the contents of an 8-bit register to the contents of accumulator and stores the result in accumulator. | ||
− | $80: add a,b | + | - $80: add a,b |
− | $81: add a,c | + | - $81: add a,c |
− | $82: add a,d | + | - $82: add a,d |
− | $83: add a,e | + | - $83: add a,e |
− | $84: add a,h | + | - $84: add a,h |
− | $85: add a,l | + | - $85: add a,l |
− | $86: add a,(hl) | + | - $86: add a,(hl) |
− | $87: add a,a | + | - $87: add a,a |
Revision as of 11:11, 25 February 2008
ADD is an assembly opcode.
add a,reg8
Adds the contents of an 8-bit register to the contents of accumulator and stores the result in accumulator.
- $80: add a,b - $81: add a,c - $82: add a,d - $83: add a,e - $84: add a,h - $85: add a,l - $86: add a,(hl) - $87: add a,a