Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$05
|
||||
STA temp ;temp equals 5 for the following
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$08
|
||||
AND temp
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$08
|
||||
ORA temp
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$08
|
||||
EOR temp
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$08
|
||||
EOR #255
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
LDA #$FF
|
||||
CLC ;clear the carry. That way, ROR will not accidentally shift a 1 into the top bit of a positive number
|
||||
BPL SKIP
|
||||
SEC ;if the value in A is negative, setting the carry will ensure that ROR will insert a 1 into bit 7 of A upon rotating.
|
||||
SKIP:
|
||||
ROR
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$01
|
||||
ROL ;if the carry was set prior to the ROL, A = 3. If the carry was clear, A = 2.
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
LDA #$01
|
||||
ROR ;if the carry was set prior to the ROR, A = 0x80. If clear, A = 0.
|
||||
Loading…
Add table
Add a link
Reference in a new issue