September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
9
Task/Bitwise-operations/BASIC/bitwise-operations-3.basic
Normal file
9
Task/Bitwise-operations/BASIC/bitwise-operations-3.basic
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
org 4084
|
||||
3a 83 40 ld a, (4083)
|
||||
47 ld b, a
|
||||
3a 82 40 ld a, (4082)
|
||||
a0 and b
|
||||
00 nop ; negate and shift instructions take 2 bytes
|
||||
06 00 ld b, 0
|
||||
4f ld c, a ; value in BC reg pair is returned to BASIC
|
||||
c9 ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue