Bitwise operations: Difference between revisions
m
→{{header|6502 Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 137:
=={{header|6502 Assembly}}==
Integer one is in the accumulator, integer two is in zero page memory location "temp". Both are considered to be unsigned.
<lang 6502asm>AND temp ;ANDs accumulator with temp.
OR temp ;ORs accumulator with temp.
Line 186 ⟶ 185:
loop_ASR:
jsr ASR
DEX
BPL loop_ASR
|