September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
9
Task/Bitwise-operations/BASIC/bitwise-operations-5.basic
Normal file
9
Task/Bitwise-operations/BASIC/bitwise-operations-5.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