Fixed cycle delay
From NESdev Wiki
Jump to navigationJump to search
Delay code
Shortest possible CPU code that creates N cycles of delay, depending on constraints.
All branch instructions assume that no page wrap occurs.
Explanations on the requirements:
- @zp_temp means you have a zeropage address that you can write random data into.
- @rts12 means you know a memory address that contains byte $60 (
RTS
). - @rts14 means you know a memory address that contains a harmless 2-cycle instruction that fits your constraints (such as
CLC
,LDA #0
, orNOP
), followed byRTS
. - @rts15 means you know a memory address that contains a
JMP
that jumps to another location that containsRTS
. - Alternatively, @rts15 means you know a memory address that contains a harmless 3-cycle instruction that fits your constraints (such as
LDA $00
), followed byRTS
. - @A, @X, @Y are local labels.
{{#css:
.testtable td{padding:2px} .testtable td pre{padding:2px;margin:2px}
}}
2 cycles
1 bytes | |
---|---|
NOP |
Clobbers nothing, requires nothing |
3 cycles
1 bytes | |
---|---|
PHA |
Clobbers S |
2 bytes | |
LDA $00 |
Clobbers A, and Z&N |
BIT $00 |
Clobbers Z&N, and V |
STA @zptemp |
Requires @zptemp |
NOP $00 |
Requires support for unofficial opcodes |
3 bytes | |
JMP *+3 |
Clobbers nothing, requires nothing |
4 cycles
1 bytes | |
---|---|
PLA |
Clobbers A, S, and Z&N |
2 bytes | |
NOP NOP |
Clobbers nothing, requires nothing |
5 cycles
2 bytes | |
---|---|
NOP PHA |
Clobbers S |
3 bytes | |
NOP LDA $00 |
Clobbers A, and Z&N |
NOP BIT $00 |
Clobbers Z&N, and V |
NOP STA @zptemp |
Requires @zptemp |
NOP NOP $00 |
Requires support for unofficial opcodes |
4 bytes | |
NOP JMP *+3 |
Clobbers nothing, requires nothing |
6 cycles
2 bytes | |
---|---|
PHA PHA |
Clobbers S |
3 bytes | |
NOP NOP NOP |
Clobbers nothing, requires nothing |
7 cycles
2 bytes | |
---|---|
PHP PLP |
Clobbers nothing, requires nothing |
8 cycles
2 bytes | |
---|---|
PLA PLA |
Clobbers A, S, and Z&N |
3 bytes | |
TSX PLA TXS |
Clobbers A, X, and Z&N |
NOP PHA PHA |
Clobbers S |
4 bytes | |
NOP NOP NOP NOP |
Clobbers nothing, requires nothing |
9 cycles
3 bytes | |
---|---|
NOP PHP PLP |
Clobbers nothing, requires nothing |
10 cycles
3 bytes | |
---|---|
PHA PHP PLP |
Clobbers S |
4 bytes | |
PHP BIT $00 PLP |
Clobbers nothing, requires nothing |
11 cycles
3 bytes | |
---|---|
PHA PLA PLA |
Clobbers A, S, and Z&N |
4 bytes | |
NOP NOP PHP PLP |
Clobbers nothing, requires nothing |
12 cycles
3 bytes | |
---|---|
JSR @rts12 |
Requires @rts12 |
PLA PLA PLA |
Clobbers A, S, and Z&N |
4 bytes | |
ROL $00,X ROR $00,X |
Clobbers Z&N |
NOP PHA PHP PLP |
Clobbers S |
5 bytes | |
NOP PHP BIT $00 PLP |
Clobbers nothing, requires nothing |
13 cycles
4 bytes | |
---|---|
PHA PHA PHP PLP |
Clobbers S |
5 bytes | |
NOP NOP NOP PHP PLP |
Clobbers nothing, requires nothing |
14 cycles
3 bytes | |
---|---|
JSR @rts14 |
Requires @rts14 |
4 bytes | |
PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
15 cycles
3 bytes | |
---|---|
JSR @rts15 |
Requires @rts15 |
4 bytes | |
PHA JSR @rts12 |
Clobbers S; and requires @rts12 |
PHA PLA PLA PLA |
Clobbers A, S, and Z&N |
5 bytes | |
LDA $00 JSR @rts12 |
Clobbers A, and Z&N; and requires @rts12 |
PHA TSX PLA TXS PLA |
Clobbers X, and Z&N |
PHP TSX PLA TXS PLP |
Clobbers A, and X |
BIT $00 JSR @rts12 |
Clobbers Z&N, and V; and requires @rts12 |
STA @zptemp JSR @rts12 |
Requires @zptemp, and @rts12 |
NOP PHA PHA PHP PLP |
Clobbers S |
NOP $00 JSR @rts12 |
Requires @rts12, and support for unofficial opcodes |
6 bytes | |
NOP NOP NOP NOP PHP PLP |
Clobbers nothing, requires nothing |
16 cycles
4 bytes | |
---|---|
NOP JSR @rts14 |
Requires @rts14 |
PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
5 bytes | |
NOP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
17 cycles
4 bytes | |
---|---|
NOP JSR @rts15 |
Requires @rts15 |
PHA JSR @rts14 |
Clobbers S; and requires @rts14 |
5 bytes | |
LDA $00 JSR @rts14 |
Clobbers A, and Z&N; and requires @rts14 |
BIT $00 JSR @rts14 |
Clobbers Z&N, and V; and requires @rts14 |
STA @zptemp JSR @rts14 |
Requires @zptemp, and @rts14 |
PHA PHP PLP PHP PLP |
Clobbers S |
NOP $00 JSR @rts14 |
Requires @rts14, and support for unofficial opcodes |
6 bytes | |
PHP PLP PHP BIT $00 PLP |
Clobbers nothing, requires nothing |
18 cycles
4 bytes | |
---|---|
PHA JSR @rts15 |
Clobbers S; and requires @rts15 |
PLA JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
5 bytes | |
LDA $00 JSR @rts15 |
Clobbers A, and Z&N; and requires @rts15 |
BIT $00 JSR @rts15 |
Clobbers Z&N, and V; and requires @rts15 |
NOP NOP JSR @rts14 |
Requires @rts14 |
STA @zptemp JSR @rts15 |
Requires @zptemp, and @rts15 |
PHA PHA JSR @rts12 |
Clobbers S; and requires @rts12 |
NOP PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
NOP $00 JSR @rts15 |
Requires @rts15, and support for unofficial opcodes |
6 bytes | |
NOP NOP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
19 cycles
4 bytes | |
---|---|
PLA JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
5 bytes | |
PHP PLP JSR @rts12 |
Requires @rts12 |
NOP NOP JSR @rts15 |
Requires @rts15 |
PHA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
NOP PHA JSR @rts14 |
Clobbers S; and requires @rts14 |
6 bytes | |
PHP ROL $00,X ROR $00,X PLP |
Clobbers nothing, requires nothing |
20 cycles
5 bytes | |
---|---|
NOP PHA JSR @rts15 |
Clobbers S; and requires @rts15 |
PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
PHA PHA JSR @rts14 |
Clobbers S; and requires @rts14 |
6 bytes | |
NOP LDA $00 JSR @rts15 |
Clobbers A, and Z&N; and requires @rts15 |
TSX PLA PLA PLA PLA TXS |
Clobbers A, X, and Z&N |
NOP BIT $00 JSR @rts15 |
Clobbers Z&N, and V; and requires @rts15 |
NOP NOP NOP JSR @rts14 |
Requires @rts14 |
NOP STA @zptemp JSR @rts15 |
Requires @zptemp, and @rts15 |
PHA PHA PHP PLP PHP PLP |
Clobbers S |
NOP NOP $00 JSR @rts15 |
Requires @rts15, and support for unofficial opcodes |
7 bytes | |
NOP NOP NOP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
21 cycles
5 bytes | |
---|---|
LDY #4 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #4 @X: DEX BNE @X |
Clobbers X, and Z&N |
PHP PLP JSR @rts14 |
Requires @rts14 |
PHA PHA JSR @rts15 |
Clobbers S; and requires @rts15 |
6 bytes | |
PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
22 cycles
5 bytes | |
---|---|
PHP PLP JSR @rts15 |
Requires @rts15 |
PLA PLA JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
6 bytes | |
LDY #3 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #3 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
PHA PHP PLP JSR @rts12 |
Clobbers S; and requires @rts12 |
NOP PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
NOP PHA PHA JSR @rts14 |
Clobbers S; and requires @rts14 |
7 bytes | |
PHP BIT $00 PLP JSR @rts12 |
Requires @rts12 |
PHP PHA TSX PLA TXS PLA PLP |
Clobbers X |
NOP NOP NOP NOP JSR @rts14 |
Requires @rts14 |
NOP PHA PHA PHP PLP PHP PLP |
Clobbers S |
8 bytes | |
NOP NOP NOP NOP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
23 cycles
5 bytes | |
---|---|
PLA PLA JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
6 bytes | |
NOP LDX #4 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #4 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP PHP PLP JSR @rts14 |
Requires @rts14 |
NOP PHA PHA JSR @rts15 |
Clobbers S; and requires @rts15 |
PHA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
7 bytes | |
NOP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
24 cycles
6 bytes | |
---|---|
JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP PHP PLP JSR @rts15 |
Requires @rts15 |
PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
PHA LDX #4 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #4 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHP PLP JSR @rts14 |
Clobbers S; and requires @rts14 |
7 bytes | |
NOP LDX #3 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #3 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
PHP BIT $00 PLP JSR @rts14 |
Requires @rts14 |
PHA PHP PLP PHP PLP PHP PLP |
Clobbers S |
8 bytes | |
PHP PLP PHP PLP PHP BIT $00 PLP |
Clobbers nothing, requires nothing |
25 cycles
6 bytes | |
---|---|
PHA PHP PLP JSR @rts15 |
Clobbers S; and requires @rts15 |
LDY #3 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #3 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
PHA PLA PLA JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
7 bytes | |
PHP BIT $00 PLP JSR @rts15 |
Requires @rts15 |
LDY #2 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #2 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP PHP PLP JSR @rts14 |
Requires @rts14 |
PHA PHA PHP PLP JSR @rts12 |
Clobbers S; and requires @rts12 |
NOP PHA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
8 bytes | |
NOP NOP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
26 cycles
5 bytes | |
---|---|
LDY #5 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #5 @X: DEX BNE @X |
Clobbers X, and Z&N |
6 bytes | |
JSR @rts12 JSR @rts14 |
Requires @rts12, and @rts14 |
PHA PLA PLA JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
PLA PLA PLA JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
7 bytes | |
NOP JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP NOP PHP PLP JSR @rts15 |
Requires @rts15 |
ROL $00,X ROR $00,X JSR @rts14 |
Clobbers Z&N; and requires @rts14 |
NOP PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
NOP PHA PHP PLP JSR @rts14 |
Clobbers S; and requires @rts14 |
8 bytes | |
PHP PLP PHP ROL $00,X ROR $00,X PLP |
Clobbers nothing, requires nothing |
27 cycles
6 bytes | |
---|---|
JSR @rts12 JSR @rts15 |
Requires @rts12, and @rts15 |
PLA PLA PLA JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
7 bytes | |
ROL $00,X ROR $00,X JSR @rts15 |
Clobbers Z&N; and requires @rts15 |
PHA JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
NOP PHA PHP PLP JSR @rts15 |
Clobbers S; and requires @rts15 |
PHA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
NOP LDX #3 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
NOP LDY #3 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA PHP PLP JSR @rts14 |
Clobbers S; and requires @rts14 |
LDY #130 @Y = * - 1 ; ^ Hides !NOP #imm NOP $EA ;hides 'NOP' DEY BMI @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
LDX #130 @X = * - 1 ; ^ Hides !NOP #imm NOP $EA ;hides 'NOP' DEX BMI @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
NOP PHP BIT $00 PLP JSR @rts15 |
Requires @rts15 |
LDA $00 JSR @rts12 JSR @rts12 |
Clobbers A, and Z&N; and requires @rts12 |
NOP LDY #2 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
PHA TSX PLA PLA PLA PLA TXS PLA |
Clobbers X, and Z&N |
PHP TSX PLA PLA PLA PLA TXS PLP |
Clobbers A, and X |
BIT $00 JSR @rts12 JSR @rts12 |
Clobbers Z&N, and V; and requires @rts12 |
NOP NOP NOP PHP PLP JSR @rts14 |
Requires @rts14 |
STA @zptemp JSR @rts12 JSR @rts12 |
Requires @zptemp, and @rts12 |
PHA PHA PHP PLP PHP PLP PHP PLP |
Clobbers S |
NOP $00 JSR @rts12 JSR @rts12 |
Requires @rts12, and support for unofficial opcodes |
9 bytes | |
NOP NOP NOP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
28 cycles
6 bytes | |
---|---|
NOP LDX #5 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #5 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
JSR @rts14 JSR @rts14 |
Requires @rts14 |
7 bytes | |
PHP LDX #4 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #4 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #5 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP PLP JSR @rts15 |
Clobbers S; and requires @rts15 |
PLA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
8 bytes | |
PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
29 cycles
6 bytes | |
---|---|
LDX #4 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #4 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
JSR @rts14 JSR @rts15 |
Requires @rts14, and @rts15 |
7 bytes | |
PHP PLP PHP PLP JSR @rts15 |
Requires @rts15 |
PHA JSR @rts12 JSR @rts14 |
Clobbers S; and requires @rts12, and @rts14 |
PHA PLA PLA PLA JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
8 bytes | |
PHP LDY #3 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #3 @X: NOP DEX BNE @X PLP |
Clobbers X |
LDA $00 JSR @rts12 JSR @rts14 |
Clobbers A, and Z&N; and requires @rts12, and @rts14 |
BIT $00 JSR @rts12 JSR @rts14 |
Clobbers Z&N, and V; and requires @rts12, and @rts14 |
STA @zptemp JSR @rts12 JSR @rts14 |
Requires @zptemp, @rts12, and @rts14 |
NOP PHA JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
NOP PHA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
NOP PHA PHA PHP PLP JSR @rts14 |
Clobbers S; and requires @rts14 |
NOP $00 JSR @rts12 JSR @rts14 |
Requires @rts12, @rts14, and support for unofficial opcodes |
9 bytes | |
PHP PLP PHP BIT $00 PLP JSR @rts12 |
Requires @rts12 |
NOP NOP NOP NOP PHP PLP JSR @rts14 |
Requires @rts14 |
NOP PHA PHA PHP PLP PHP PLP PHP PLP |
Clobbers S |
10 bytes | |
NOP NOP NOP NOP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
30 cycles
6 bytes | |
---|---|
JSR @rts15 JSR @rts15 |
Requires @rts15 |
PLA LDX #5 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #5 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #5 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #5 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP JSR @rts14 JSR @rts14 |
Requires @rts14 |
8 bytes | |
NOP PHP LDY #4 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #4 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #5 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
NOP PLA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
9 bytes | |
NOP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
31 cycles
5 bytes | |
---|---|
LDY #6 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #6 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
NOP JSR @rts14 JSR @rts15 |
Requires @rts14, and @rts15 |
PLA PLA PLA PLA JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
PHA JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
8 bytes | |
PHP PLP JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP PHP PLP PHP PLP JSR @rts15 |
Requires @rts15 |
SEC LDA #4 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
LDA $00 JSR @rts14 JSR @rts14 |
Clobbers A, and Z&N; and requires @rts14 |
BIT $00 JSR @rts14 JSR @rts14 |
Clobbers Z&N, and V; and requires @rts14 |
STA @zptemp JSR @rts14 JSR @rts14 |
Requires @zptemp, and @rts14 |
PHA PLA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
PHA PHP LDX #4 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #4 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
NOP $00 JSR @rts14 JSR @rts14 |
Requires @rts14, and support for unofficial opcodes |
9 bytes | |
NOP PHP LDY #3 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #3 @X: NOP DEX BNE @X PLP |
Clobbers X |
JMP *+3 JSR @rts14 JSR @rts14 |
Requires @rts14 |
PHA PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers S |
10 bytes | |
PHP PLP PHP PLP PHP PLP PHP BIT $00 PLP |
Clobbers nothing, requires nothing |
32 cycles
6 bytes | |
---|---|
LDY #5 @Y = * - 1 ; ^ Hides ORA zp DEY ;first round only DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDX #5 @X = * - 1 ; ^ Hides ORA zp DEX ;first round only DEX BNE @X |
Clobbers A, X, and Z&N |
7 bytes | |
NOP JSR @rts15 JSR @rts15 |
Requires @rts15 |
PHA LDX #4 @X: NOP DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #4 @Y: NOP DEY BNE @Y |
Clobbers Y, S, and Z&N |
PLA JSR @rts14 JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
LDY #250 @Y = * - 1 ; ^ Hides !NOP NOP INY INY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
LDX #250 @X = * - 1 ; ^ Hides !NOP NOP INX INX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
NOP NOP NOP LDX #5 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #5 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP JSR @rts14 JSR @rts14 |
Requires @rts14 |
PLA PLA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
9 bytes | |
TYA PHA LDY #4 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDY #2 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #2 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
NOP PHA PHA JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
10 bytes | |
NOP NOP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
33 cycles
6 bytes | |
---|---|
NOP LDY #6 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #6 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #5 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #5 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #6 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
8 bytes | |
LDA $00 JSR @rts15 JSR @rts15 |
Clobbers A, and Z&N; and requires @rts15 |
BIT $00 JSR @rts15 JSR @rts15 |
Clobbers Z&N, and V; and requires @rts15 |
PHP PLP JSR @rts12 JSR @rts14 |
Requires @rts12, and @rts14 |
NOP NOP JSR @rts14 JSR @rts15 |
Requires @rts14, and @rts15 |
STA @zptemp JSR @rts15 JSR @rts15 |
Requires @zptemp, and @rts15 |
NOP PHA JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
NOP $00 JSR @rts15 JSR @rts15 |
Requires @rts15, and support for unofficial opcodes |
9 bytes | |
NOP PHP PLP JSR @rts12 JSR @rts12 |
Requires @rts12 |
JMP *+3 JSR @rts15 JSR @rts15 |
Requires @rts15 |
JSR @rts14 PHP ROL $00,X ROR $00,X PLP |
Requires @rts14 |
NOP PHA PLA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
10 bytes | |
PHP PLP PHP PLP PHP ROL $00,X ROR $00,X PLP |
Clobbers nothing, requires nothing |
34 cycles
5 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY DEY BMI @Y |
Clobbers Y, and Z&N |
6 bytes | |
PHA LDX #6 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDX #6 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDX #6 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #6 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
PLA JSR @rts15 JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
NOP $00 LDX #6 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
NOP NOP JSR @rts15 JSR @rts15 |
Requires @rts15 |
JMP *+3 LDX #6 @X: DEX BNE @X |
Clobbers X, and Z&N |
PHA PHA JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
9 bytes | |
NOP NOP NOP JSR @rts14 JSR @rts14 |
Requires @rts14 |
PHA PHP PLP JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
NOP PLA PLA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
PHA PHA PHP LDY #4 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #4 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHP LDY #130 @Y = * - 1 ; ^ Hides !NOP #imm NOP $EA ;hides 'NOP' DEY BMI @Y PLP |
Clobbers Y; and requires support for unofficial opcodes |
PHP LDX #130 @X = * - 1 ; ^ Hides !NOP #imm NOP $EA ;hides 'NOP' DEX BMI @X PLP |
Clobbers X; and requires support for unofficial opcodes |
10 bytes | |
PHP BIT $00 PLP JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP TYA PHA LDY #4 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #2 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
PHP PHA TSX PLA PLA PLA PLA TXS PLA PLP |
Clobbers X |
PHA PHA PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers S |
11 bytes | |
NOP NOP NOP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
35 cycles
6 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY DEY DEY BMI @Y |
Clobbers Y, and Z&N |
LDX #248 @X = * - 1 ; ^ Hides SED INX INX BNE @X |
Clobbers X, Z&N, and D |
PLA LDX #6 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
NOP NOP LDX #6 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #5 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #5 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #6 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHP PLP JSR @rts14 JSR @rts14 |
Requires @rts14 |
NOP PHA JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
9 bytes | |
PHP SEC LDA #5 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #5 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
NOP BIT $00 JSR @rts15 JSR @rts15 |
Clobbers Z&N, and V; and requires @rts15 |
NOP STA @zptemp JSR @rts15 JSR @rts15 |
Requires @zptemp, and @rts15 |
NOP NOP $00 JSR @rts15 JSR @rts15 |
Requires @rts15, and support for unofficial opcodes |
10 bytes | |
PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
36 cycles
5 bytes | |
---|---|
LDY #7 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #7 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #4 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #4 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP PLP JSR @rts14 JSR @rts15 |
Requires @rts14, and @rts15 |
PHA PHA JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
PHA SEC LDA #6 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
PLA PLA JSR @rts14 JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
9 bytes | |
JSR @rts12 JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP NOP NOP JSR @rts15 JSR @rts15 |
Requires @rts15 |
LDA $00 SEC LDA #6 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PLA PLA PLA PLA PLA PLA PLA PLA PLA |
Clobbers A, S, and Z&N |
NOP PHA PHA JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
10 bytes | |
NOP NOP NOP NOP JSR @rts14 JSR @rts14 |
Requires @rts14 |
11 bytes | |
TYA PHA LDY #2 @Y: PHP PLP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHA PHA PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers S |
12 bytes | |
NOP NOP NOP NOP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
37 cycles
6 bytes | |
---|---|
PHA LDY #136 @Y = * - 1 ; ^ Hides DEY DEY BMI @Y |
Clobbers Y, S, and Z&N |
LDX #4 @X: PLA DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
LDX #3 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
LDY #3 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP PLP JSR @rts15 JSR @rts15 |
Requires @rts15 |
PLA SEC LDA #6 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #5 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #5 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #5 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP PLP JSR @rts14 JSR @rts14 |
Requires @rts14 |
10 bytes | |
NOP PHP SEC LDA #5 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #5 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
PHA PHA PHP PLP JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
11 bytes | |
NOP PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
38 cycles
6 bytes | |
---|---|
NOP LDY #7 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #7 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #6 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #6 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #7 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
8 bytes | |
PLA PLA JSR @rts15 JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
9 bytes | |
JSR @rts12 JSR @rts12 JSR @rts14 |
Requires @rts12, and @rts14 |
NOP PHP PLP JSR @rts14 JSR @rts15 |
Requires @rts14, and @rts15 |
NOP PHA PHA JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
PHA PHP PLP JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
10 bytes | |
NOP JSR @rts12 JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP NOP NOP NOP JSR @rts15 JSR @rts15 |
Requires @rts15 |
PHP SEC LDA #4 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #4 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
PHP BIT $00 PLP JSR @rts14 JSR @rts14 |
Requires @rts14 |
11 bytes | |
PHA PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers S |
12 bytes | |
PHP PLP PHP PLP PHP PLP PHP PLP PHP BIT $00 PLP |
Clobbers nothing, requires nothing |
39 cycles
6 bytes | |
---|---|
PHA LDX #7 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #7 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDA $00 LDY #7 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #7 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDX #7 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
BIT $00 LDY #7 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
STA @zptemp LDY #7 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #7 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDX #7 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDY #7 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDY #7 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
JMP *+3 LDX #7 @X: DEX BNE @X |
Clobbers X, and Z&N |
PHP LDY #5 @Y = * - 1 ; ^ Hides ORA zp DEY ;first round only DEY BNE @Y PLP |
Clobbers A, and Y |
PHP LDX #5 @X = * - 1 ; ^ Hides ORA zp DEX ;first round only DEX BNE @X PLP |
Clobbers A, and X |
9 bytes | |
NOP PHP PLP JSR @rts15 JSR @rts15 |
Requires @rts15 |
SEC LDA #3 @A: PHP PLP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHP LDY #4 @Y: NOP DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #4 @X: NOP DEX BNE @X PLP |
Clobbers X, and S |
PHA PLA PLA JSR @rts14 JSR @rts14 |
Clobbers A, S, and Z&N; and requires @rts14 |
PHP LDY #250 @Y = * - 1 ; ^ Hides !NOP NOP INY INY BNE @Y PLP |
Clobbers Y; and requires support for unofficial opcodes |
PHP LDX #250 @X = * - 1 ; ^ Hides !NOP NOP INX INX BNE @X PLP |
Clobbers X; and requires support for unofficial opcodes |
10 bytes | |
NOP TYA PHA LDY #5 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDY #5 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP NOP PHP LDX #5 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP PLP JSR @rts14 JSR @rts14 |
Requires @rts14 |
PHA JSR @rts12 JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
11 bytes | |
PHA TYA PHA LDY #4 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #5 @A: SBC #1 BNE @A PLP |
Clobbers A |
STA @zptemp JSR @rts12 JSR @rts12 JSR @rts12 |
Requires @zptemp, and @rts12 |
NOP $00 JSR @rts12 JSR @rts12 JSR @rts12 |
Requires @rts12, and support for unofficial opcodes |
12 bytes | |
NOP NOP PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
40 cycles
6 bytes | |
---|---|
LDY #5 @Y = * - 1 ; ^ Hides ORA zp NOP DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDX #5 @X = * - 1 ; ^ Hides ORA zp NOP DEX BNE @X |
Clobbers A, X, and Z&N |
7 bytes | |
NOP NOP LDY #7 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #7 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #6 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #6 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #7 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #6 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #6 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
JSR @rts12 JSR @rts14 JSR @rts14 |
Requires @rts12, and @rts14 |
PHA PHP PLP JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
10 bytes | |
PHP BIT $00 PLP JSR @rts15 JSR @rts15 |
Requires @rts15 |
ROL $00,X ROR $00,X JSR @rts14 JSR @rts14 |
Clobbers Z&N; and requires @rts14 |
NOP PHA PHP PLP JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
11 bytes | |
NOP NOP JSR @rts12 JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP PHP BIT $00 PLP JSR @rts14 JSR @rts14 |
Requires @rts14 |
12 bytes | |
PHP PLP PHP PLP PHP PLP PHP ROL $00,X ROR $00,X PLP |
Clobbers nothing, requires nothing |
41 cycles
5 bytes | |
---|---|
LDX #8 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #8 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY DEY BMI @Y PLP |
Clobbers Y |
8 bytes | |
PHA PHP LDX #6 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #7 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #6 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #7 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
JSR @rts12 JSR @rts14 JSR @rts15 |
Requires @rts12, @rts14, and @rts15 |
PHA PLA PLA JSR @rts15 JSR @rts15 |
Clobbers A, S, and Z&N; and requires @rts15 |
10 bytes | |
NOP NOP PHP PLP JSR @rts15 JSR @rts15 |
Requires @rts15 |
PLA TYA PHA LDY #5 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
PHA PHA PHP PLP JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
11 bytes | |
NOP NOP TYA PHA LDY #5 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP PLP JSR @rts14 JSR @rts14 |
Requires @rts14 |
NOP PHA JSR @rts12 JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
PHA PHP SEC LDA #4 @A: NOP SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #4 @A: NOP SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
PHP PLP PHP BIT $00 PLP JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP PHA TYA PHA LDY #4 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #5 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA PHA PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers S |
13 bytes | |
NOP NOP NOP PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
42 cycles
7 bytes | |
---|---|
NOP LDY #5 @Y = * - 1 ; ^ Hides ORA zp NOP DEY BNE @Y |
Clobbers A, Y, and Z&N |
NOP LDX #5 @X = * - 1 ; ^ Hides ORA zp NOP DEX BNE @X |
Clobbers A, X, and Z&N |
PHA PHA LDX #7 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA PHA LDY #7 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY DEY DEY BMI @Y PLP |
Clobbers Y |
PHP LDX #248 @X = * - 1 ; ^ Hides SED INX INX BNE @X PLP |
Clobbers X |
PLA SEC LDA #7 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
JSR @rts12 JSR @rts15 JSR @rts15 |
Requires @rts12, and @rts15 |
TYA PHA LDY #6 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
10 bytes | |
ROL $00,X ROR $00,X JSR @rts15 JSR @rts15 |
Clobbers Z&N; and requires @rts15 |
NOP PHP SEC LDA #6 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #6 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
NOP PHA PHP PLP JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
11 bytes | |
PHP PHA SEC LDA #5 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
43 cycles
6 bytes | |
---|---|
LDX #6 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #6 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #7 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #7 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #8 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
JSR @rts14 JSR @rts14 JSR @rts15 |
Requires @rts14, and @rts15 |
10 bytes | |
TXA PHA LDX #5 @X = * - 1 ; ^ Hides ORA zp DEX ;first round only DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHA PHP PLP JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
PHA PHP SEC LDA #6 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #6 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
PHA JSR @rts12 JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts12, and @rts14 |
11 bytes | |
PHP PLP JSR @rts12 JSR @rts12 JSR @rts12 |
Requires @rts12 |
NOP NOP NOP PHP PLP JSR @rts15 JSR @rts15 |
Requires @rts15 |
PHP LDA $00 SEC LDA #6 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #6 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
NOP PHA PHA PHP PLP JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
12 bytes | |
NOP NOP NOP NOP PHP PLP JSR @rts14 JSR @rts14 |
Requires @rts14 |
13 bytes | |
PHA TYA PHA LDY #2 @Y: PHP PLP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP PHA PHA PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP NOP PHP PLP PHP PLP PHP PLP PHP PLP PHP PLP |
Clobbers nothing, requires nothing |
44 cycles
6 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY NOP DEY BMI @Y |
Clobbers Y, and Z&N |
LDX #10 @X = * - 1 ; ^ Hides ASL A DEX DEX BNE @X |
Clobbers A, X, Z&N, and C |
PHA LDX #8 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDX #8 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDX #8 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #8 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDX #8 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #8 @X: DEX BNE @X |
Clobbers X, and Z&N |
PHA PHP LDY #136 @Y = * - 1 ; ^ Hides DEY DEY BMI @Y PLP |
Clobbers Y, and S |
9 bytes | |
PHP LDY #3 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #3 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
JSR @rts14 JSR @rts15 JSR @rts15 |
Requires @rts14, and @rts15 |
NOP PLA SEC LDA #7 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
PHP PLP PHP PLP JSR @rts15 JSR @rts15 |
Requires @rts15 |
NOP TYA PHA LDY #6 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
11 bytes | |
PHA TYA PHA LDY #5 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #6 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #5 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
45 cycles
6 bytes | |
---|---|
PLA LDY #8 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
PLA LDX #8 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
NOP LDY #6 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #6 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #7 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #7 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #6 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15 |
PHP SEC LDA #7 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #7 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
10 bytes | |
PHA JSR @rts14 JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
11 bytes | |
PHP PLP JSR @rts12 JSR @rts12 JSR @rts14 |
Requires @rts12, and @rts14 |
BIT $00 JSR @rts14 JSR @rts14 JSR @rts14 |
Clobbers Z&N, and V; and requires @rts14 |
STA @zptemp JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @zptemp, and @rts14 |
NOP $00 JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14, and support for unofficial opcodes |
12 bytes | |
PHP PHA SEC LDA #4 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
46 cycles
5 bytes | |
---|---|
LDX #9 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #9 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHA PHP LDY #7 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #7 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #8 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #7 @X: DEX BNE @X PLP |
Clobbers X |
PHP BIT $00 LDY #7 @Y: DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #8 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY DEY DEY BMI @Y PLA TAY |
Clobbers A, and Z&N |
NOP JSR @rts14 JSR @rts15 JSR @rts15 |
Requires @rts14, and @rts15 |
11 bytes | |
NOP PHP PLP PHP PLP JSR @rts15 JSR @rts15 |
Requires @rts15 |
PHP SEC LDA #3 @A: PHP PLP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #3 @A: PHP PLP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
NOP NOP JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
12 bytes | |
NOP PHA TYA PHA LDY #5 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PLP JSR @rts12 JSR @rts12 JSR @rts12 |
Clobbers S; and requires @rts12 |
13 bytes | |
NOP NOP PHP PHA SEC LDA #5 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
47 cycles
7 bytes | |
---|---|
PHA PHA LDY #8 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #8 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP NOP LDX #6 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #6 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
PHP LDY #5 @Y = * - 1 ; ^ Hides ORA zp NOP DEY BNE @Y PLP |
Clobbers A, and Y |
PHP LDX #5 @X = * - 1 ; ^ Hides ORA zp NOP DEX BNE @X PLP |
Clobbers A, and X |
PLA SEC LDA #8 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #7 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #7 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #7 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15 |
NOP PHP SEC LDA #7 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #7 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #6 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
48 cycles
6 bytes | |
---|---|
NOP LDX #9 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #9 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #8 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #8 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #9 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA JSR @rts15 JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
PHA PHP SEC LDA #7 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #7 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #7 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #7 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
BIT $00 JSR @rts15 JSR @rts15 JSR @rts15 |
Clobbers Z&N, and V; and requires @rts15 |
NOP NOP JSR @rts14 JSR @rts15 JSR @rts15 |
Requires @rts14, and @rts15 |
STA @zptemp JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @zptemp, and @rts15 |
PHA PHA JSR @rts14 JSR @rts14 JSR @rts14 |
Clobbers S; and requires @rts14 |
NOP $00 JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15, and support for unofficial opcodes |
12 bytes | |
JSR @rts12 JSR @rts12 JSR @rts12 JSR @rts12 |
Requires @rts12 |
JMP *+3 JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15 |
NOP NOP NOP JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
13 bytes | |
NOP NOP PHA TYA PHA LDY #5 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #4 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #5 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
49 cycles
4 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers Y, and Z&N |
6 bytes | |
LDX #6 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDX #4 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
NOP PHP LDX #5 @X = * - 1 ; ^ Hides ORA zp NOP DEX BNE @X PLP |
Clobbers A, and X |
NOP PHP LDY #5 @Y = * - 1 ; ^ Hides ORA zp NOP DEY BNE @Y PLP |
Clobbers A, and Y |
PHA PHA PHP LDX #7 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHA PHP LDY #7 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
NOP PLA SEC LDA #8 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #7 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDY #7 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP NOP PHP LDX #7 @X: DEX BNE @X PLP |
Clobbers X |
11 bytes | |
NOP NOP JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15 |
PHA TYA PHA LDY #6 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #7 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHP PLP JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
12 bytes | |
NOP PHP PHA SEC LDA #6 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
50 cycles
6 bytes | |
---|---|
LDY #7 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #7 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #6 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #6 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #9 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #8 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #8 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PLP JSR @rts14 JSR @rts14 JSR @rts15 |
Requires @rts14, and @rts15 |
NOP PHA JSR @rts15 JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
12 bytes | |
PHA TXA PHA LDX #5 @X = * - 1 ; ^ Hides ORA zp DEX ;first round only DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
JSR @rts12 JSR @rts12 JSR @rts12 JSR @rts14 |
Requires @rts12, and @rts14 |
NOP STA @zptemp JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @zptemp, and @rts15 |
PHA PHP PHA SEC LDA #6 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
NOP NOP $00 JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15, and support for unofficial opcodes |
13 bytes | |
PHP PHA LDA $00 SEC LDA #6 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
51 cycles
5 bytes | |
---|---|
LDX #10 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #10 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY NOP DEY BMI @Y PLP |
Clobbers Y |
PHP LDX #10 @X = * - 1 ; ^ Hides ASL A DEX DEX BNE @X PLP |
Clobbers A, and X |
PHA PHP LDX #8 @X: DEX BNE @X PLP |
Clobbers X, and S |
SEC LDA #6 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #8 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #4 @A: PHP PLP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TXA PHA LDX #5 @X = * - 1 ; ^ Hides ORA zp NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
11 bytes | |
PHP PLP JSR @rts14 JSR @rts15 JSR @rts15 |
Requires @rts14, and @rts15 |
PHA PHA JSR @rts15 JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
PHA PHA PHP SEC LDA #7 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #7 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP NOP NOP JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15 |
NOP PHA TYA PHA LDY #6 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #7 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHP PLP JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
13 bytes | |
NOP NOP PHP PHA SEC LDA #6 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
52 cycles
5 bytes | |
---|---|
PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers Y, S, and Z&N |
6 bytes | |
LDA $00 LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers A, Y, and Z&N |
BIT $00 LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers Y, Z&N, and V |
STA @zptemp LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
NOP LDX #7 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #7 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
SEC LDA #7 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #8 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #6 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #6 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #6 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #6 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #7 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
53 cycles
5 bytes | |
---|---|
PLA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers A, Y, S, and Z&N |
6 bytes | |
NOP LDX #10 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #10 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #9 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #9 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #10 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #8 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #8 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #8 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #8 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY DEY DEY BMI @Y PLA TAY PLA |
Clobbers Z&N |
NOP PHP PLP JSR @rts14 JSR @rts15 JSR @rts15 |
Requires @rts14, and @rts15 |
NOP PHA PHA JSR @rts15 JSR @rts15 JSR @rts15 |
Clobbers S; and requires @rts15 |
13 bytes | |
PHP PHA SEC LDA #3 @A: PHP PLP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
54 cycles
6 bytes | |
---|---|
PHA LDY #10 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #10 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDY #136 @Y = * - 1 ; ^ Hides DEY NOP NOP DEY BMI @Y |
Clobbers Y, and Z&N |
LDA $00 LDX #10 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDX #10 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #10 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDX #10 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #10 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
NOP SEC LDA #7 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP LDX #8 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHA PHP LDY #8 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
10 bytes | |
TYA PHA LDY #6 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #6 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #6 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #7 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP PHP SEC LDA #6 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #7 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
55 cycles
5 bytes | |
---|---|
LDY #248 @Y = * - 1 ; ^ Hides SED INY BNE @Y |
Clobbers Y, Z&N, and D |
LDX #248 @X = * - 1 ; ^ Hides SED INX BNE @X |
Clobbers X, Z&N, and D |
6 bytes | |
PHA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y |
Clobbers Y, S, and Z&N |
LDX #6 @X: PLA DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
LDY #6 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #6 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #9 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #9 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #10 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #9 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #9 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
JSR @rts12 JSR @rts14 JSR @rts14 JSR @rts15 |
Requires @rts12, @rts14, and @rts15 |
PHA PHP PHA SEC LDA #7 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #7 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
56 cycles
5 bytes | |
---|---|
LDY #11 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #11 @X: DEX BNE @X |
Clobbers X, and Z&N |
6 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLP |
Clobbers Y |
8 bytes | |
PHA PHP LDX #9 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #10 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDX #4 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #10 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #8 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP TYA PHA LDY #6 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #8 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #8 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #7 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #6 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
JSR @rts14 JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
13 bytes | |
NOP NOP PHP PHA SEC LDA #7 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
57 cycles
6 bytes | |
---|---|
LDX #8 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #8 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
CLC LDA #248 @A = * - 1 ; ^ Hides SED ADC #1 BNE @A |
Clobbers A, Z&N, C, and D |
8 bytes | |
PHP LDX #7 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #7 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PLA SEC LDA #10 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #9 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
NOP PHP SEC LDA #9 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #9 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #8 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
58 cycles
6 bytes | |
---|---|
NOP LDX #11 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #11 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #10 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #10 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #11 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #9 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #9 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #4 @A: PHP PLP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #4 @A: PHP PLP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #5 @X = * - 1 ; ^ Hides ORA zp NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
JSR @rts14 JSR @rts14 JSR @rts15 JSR @rts15 |
Requires @rts14, and @rts15 |
13 bytes | |
NOP JSR @rts14 JSR @rts14 JSR @rts14 JSR @rts14 |
Requires @rts14 |
PHA PHA PHP PHA SEC LDA #7 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #7 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
59 cycles
6 bytes | |
---|---|
PHA LDX #11 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #11 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
NOP LDY #8 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #8 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
PHA PHP LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLP |
Clobbers Y, and S |
8 bytes | |
PHP BIT $00 LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLP |
Clobbers Y |
SEC LDA #8 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
NOP PHP LDX #7 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #7 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #7 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #8 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #6 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
60 cycles
6 bytes | |
---|---|
PLA LDX #11 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #11 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #11 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #11 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #10 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #10 @X: DEX BNE @X PLP |
Clobbers X |
9 bytes | |
PHP SEC LDA #10 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #10 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
JSR @rts15 JSR @rts15 JSR @rts15 JSR @rts15 |
Requires @rts15 |
PHA PHP PHA SEC LDA #8 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #8 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
61 cycles
5 bytes | |
---|---|
LDY #12 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #12 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #10 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #10 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #11 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #10 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY NOP NOP DEY BMI @Y PLP |
Clobbers Y |
NOP SEC LDA #8 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #7 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
NOP PHP SEC LDA #7 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #7 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #6 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #6 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
62 cycles
5 bytes | |
---|---|
LDX #136 @X = * - 1 ; ^ Hides DEY DEX BMI @X |
Clobbers X, Y, and Z&N |
7 bytes | |
PHP LDX #248 @X = * - 1 ; ^ Hides SED INX BNE @X PLP |
Clobbers X |
PHP LDY #248 @Y = * - 1 ; ^ Hides SED INY BNE @Y PLP |
Clobbers Y |
8 bytes | |
PLA SEC LDA #11 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #10 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
NOP PHP SEC LDA #10 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #10 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #9 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
63 cycles
6 bytes | |
---|---|
NOP LDX #12 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #12 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #11 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #11 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #12 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHA TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLA TAY |
Clobbers A, S, and Z&N |
10 bytes | |
LDA $00 TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #10 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #10 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #10 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #10 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP PHA TYA PHA LDY #6 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #8 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP PHP PHA SEC LDA #6 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
64 cycles
6 bytes | |
---|---|
LDY #9 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #9 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #8 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #8 @X: NOP DEX BNE @X PLP |
Clobbers X |
9 bytes | |
PHP CLC LDA #248 @A = * - 1 ; ^ Hides SED ADC #1 BNE @A PLP |
Clobbers A |
PHA CLC LDA #248 @A = * - 1 ; ^ Hides SED ADC #1 BNE @A PLA |
Clobbers Z&N, C, and D |
11 bytes | |
PHA TYA PHA LDY #9 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
NOP PHP PHA SEC LDA #9 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
65 cycles
6 bytes | |
---|---|
LDY #8 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #8 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
NOP NOP LDY #12 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #12 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #11 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #11 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #12 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #11 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #11 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #9 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #4 @A: PHP PLP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
66 cycles
5 bytes | |
---|---|
LDY #13 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #13 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #9 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHP LDY #11 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #11 @X: DEX BNE @X PLP |
Clobbers X, and S |
9 bytes | |
NOP PHP LDY #8 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #8 @X: NOP DEX BNE @X PLP |
Clobbers X |
TYA PHA LDY #248 @Y = * - 1 ; ^ Hides SED INY BNE @Y PLA TAY |
Clobbers A, Z&N, and D |
10 bytes | |
PHP SEC LDA #8 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #8 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #7 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
67 cycles
7 bytes | |
---|---|
LDY #6 @Y: PHA PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #6 @X: PHA PHA DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
LDY #6 @Y: NOP NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #6 @X: NOP NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
SEC LDA #8 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #11 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #11 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #11 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
PHA TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLA TAY PLA |
Clobbers Z&N |
NOP PHP SEC LDA #11 @A: SBC #1 BNE @A PLP |
Clobbers A |
11 bytes | |
PHP PHA SEC LDA #10 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
68 cycles
6 bytes | |
---|---|
NOP LDX #13 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #13 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #12 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #12 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #13 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TXA PHA LDX #8 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHP SEC LDA #11 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #11 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
NOP PHP SEC LDA #8 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #8 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #7 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #7 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
69 cycles
5 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y |
Clobbers Y, and Z&N |
LDX #10 @X = * - 1 ; ^ Hides ASL A DEX BNE @X |
Clobbers A, X, Z&N, and C |
6 bytes | |
PHA LDX #13 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDX #13 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
PHP LDX #136 @X = * - 1 ; ^ Hides DEY DEX BMI @X PLP |
Clobbers X, and Y |
BIT $00 LDX #13 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #13 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDX #13 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #13 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHP PLP PHP LDX #248 @X = * - 1 ; ^ Hides SED INX BNE @X PLP |
Clobbers X |
PHP PLP PHP LDY #248 @Y = * - 1 ; ^ Hides SED INY BNE @Y PLP |
Clobbers Y |
SEC LDA #6 @A: PHA PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #11 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #10 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #11 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #10 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
70 cycles
6 bytes | |
---|---|
PLA LDX #13 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #13 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #13 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #13 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #12 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #12 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #13 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #12 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #12 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA PHA TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLA TAY PLA |
Clobbers S, and Z&N |
12 bytes | |
PHA LDA $00 TYA PHA LDY #136 @Y = * - 1 ; ^ Hides DEY BMI @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #10 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #10 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
71 cycles
5 bytes | |
---|---|
LDY #14 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #14 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #9 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #9 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHA SEC LDA #13 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
LDA $00 SEC LDA #13 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #11 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
PHP PHA CLC LDA #248 @A = * - 1 ; ^ Hides SED ADC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
72 cycles
6 bytes | |
---|---|
PHA LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y |
Clobbers Y, S, and Z&N |
PHA LDX #10 @X = * - 1 ; ^ Hides ASL A DEX BNE @X |
Clobbers A, X, S, Z&N, and C |
7 bytes | |
LDA $00 LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #10 @X = * - 1 ; ^ Hides ASL A DEX BNE @X |
Clobbers A, X, Z&N, and C |
BIT $00 LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y |
Clobbers Y, Z&N, and V |
STA @zptemp LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y |
Clobbers Y, and Z&N; and requires @zptemp |
PHA PHA LDX #13 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
NOP $00 LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
NOP NOP NOP LDX #13 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #13 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PHA PHP LDX #136 @X = * - 1 ; ^ Hides DEY DEX BMI @X PLP |
Clobbers X, Y, and S |
PLA SEC LDA #13 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #12 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDX #8 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
PHP LDY #8 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #12 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #12 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #11 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
73 cycles
6 bytes | |
---|---|
NOP LDX #14 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #14 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #13 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #13 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #14 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHP SEC LDA #9 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #9 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #248 @Y = * - 1 ; ^ Hides SED INY BNE @Y PLA TAY PLA |
Clobbers Z&N, and D |
12 bytes | |
PHP PHA SEC LDA #8 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
74 cycles
6 bytes | |
---|---|
PHA LDY #14 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #14 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #14 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #14 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #14 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #14 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDY #14 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #14 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDY #14 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #14 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #14 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #14 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
PHA PHP LDY #9 @Y: NOP DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #9 @X: NOP DEX BNE @X PLP |
Clobbers X, and S |
NOP PLA SEC LDA #13 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #12 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDY #6 @Y: NOP NOP NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #6 @X: NOP NOP NOP DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #11 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #12 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #11 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
75 cycles
6 bytes | |
---|---|
PLA LDX #14 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #14 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #14 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #14 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #13 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #13 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #14 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #13 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #13 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #8 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #11 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
NOP PHP PHA SEC LDA #8 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
76 cycles
5 bytes | |
---|---|
LDY #15 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #15 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y PLP |
Clobbers Y |
PHP LDX #10 @X = * - 1 ; ^ Hides ASL A DEX BNE @X PLP |
Clobbers A, and X |
8 bytes | |
PHA PHP LDX #13 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #14 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #13 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #14 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #12 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
TXA PHA LDX #8 @X: LDA $00 DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHP SEC LDA #9 @A: NOP SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #9 @A: NOP SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #11 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHP SEC LDA #6 @A: NOP NOP NOP SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #11 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
77 cycles
7 bytes | |
---|---|
PHA PHA LDY #14 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #14 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP NOP NOP LDX #14 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #14 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #14 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #13 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #13 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #13 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
NOP PHP SEC LDA #13 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #13 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #12 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
78 cycles
6 bytes | |
---|---|
LDX #11 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #11 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #14 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #14 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #15 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #13 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #13 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #13 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #13 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHP PLP PHP PHA CLC LDA #248 @A = * - 1 ; ^ Hides SED ADC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
79 cycles
5 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY PHA BMI @Y |
Clobbers Y, S, and Z&N |
6 bytes | |
LDY #136 @Y = * - 1 ; ^ Hides DEY LDA $00 BMI @Y |
Clobbers A, Y, and Z&N |
LDY #136 @Y = * - 1 ; ^ Hides DEY BIT $00 BMI @Y |
Clobbers Y, Z&N, and V |
LDY #136 @Y = * - 1 ; ^ Hides DEY STA @zptemp BMI @Y |
Clobbers Y, and Z&N; and requires @zptemp |
PHA LDX #15 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #136 @Y = * - 1 ; ^ Hides DEY NOP $00 BMI @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
LDY #136 @Y = * - 1 ; ^ Hides DEY JMP *+3 BMI @Y |
Clobbers Y, and Z&N |
LDA $00 LDX #15 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDX #15 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #15 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDX #15 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #15 @X: DEX BNE @X |
Clobbers X, and Z&N |
PHA PHP LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #10 @X = * - 1 ; ^ Hides ASL A DEX BNE @X PLP |
Clobbers A, X, and S |
9 bytes | |
PHP BIT $00 LDY #136 @Y = * - 1 ; ^ Hides DEY NOP BMI @Y PLP |
Clobbers Y |
PHP LDA $00 LDX #10 @X = * - 1 ; ^ Hides ASL A DEX BNE @X PLP |
Clobbers A, and X |
PHA PHA PHP LDX #13 @X: DEX BNE @X PLP |
Clobbers X, and S |
NOP PLA SEC LDA #14 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #13 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDX #13 @X: DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #12 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #13 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #12 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
80 cycles
6 bytes | |
---|---|
LDX #136 @X = * - 1 ; ^ Hides DEY NOP DEX BMI @X |
Clobbers X, Y, and Z&N |
PLA LDX #15 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #15 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP LDY #11 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #11 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #14 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #14 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #11 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #14 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #14 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #9 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
81 cycles
5 bytes | |
---|---|
LDY #16 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #16 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #14 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #14 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #15 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #14 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #14 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #15 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #13 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #13 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #13 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #13 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #12 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #13 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #12 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
82 cycles
6 bytes | |
---|---|
PHA LDY #136 @Y = * - 1 ; ^ Hides DEY PHA BMI @Y |
Clobbers Y, S, and Z&N |
LDX #9 @X: PLA DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
LDX #9 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #9 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PLA SEC LDA #15 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #14 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #14 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #14 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #14 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #14 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #13 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
83 cycles
6 bytes | |
---|---|
NOP LDX #16 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #16 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #15 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #15 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #16 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #14 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #14 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #14 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #14 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHA TXA PHA LDX #8 @X: LDA $00 DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #9 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
PHP PHA SEC LDA #6 @A: NOP NOP NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
84 cycles
6 bytes | |
---|---|
PHA LDX #16 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #16 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDA $00 LDX #16 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
LDA $00 LDY #16 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
BIT $00 LDY #16 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #16 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #16 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
STA @zptemp LDY #16 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDX #16 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDY #16 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDY #16 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
JMP *+3 LDX #16 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
SEC LDA #9 @A: NOP NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP LDX #14 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHA PHP LDY #14 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
10 bytes | |
NOP TYA PHA LDY #14 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDY #14 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP NOP PHP LDX #14 @X: DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #13 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #14 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #13 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
85 cycles
6 bytes | |
---|---|
LDX #12 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #12 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #11 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #11 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #16 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #15 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #15 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #13 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #13 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
86 cycles
5 bytes | |
---|---|
LDY #17 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #17 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY BIT $00 BMI @Y PLP |
Clobbers Y |
PHA PHP LDX #15 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #16 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #15 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #16 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #14 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #14 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #14 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #14 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #13 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #14 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #13 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
87 cycles
6 bytes | |
---|---|
LDY #248 @Y = * - 1 ; ^ Hides SED PLA INY BNE @Y |
Clobbers A, Y, S, Z&N, and D |
LDX #248 @X = * - 1 ; ^ Hides SED PLA INX BNE @X |
Clobbers A, X, S, Z&N, and D |
7 bytes | |
NOP LDY #12 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #12 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #136 @X = * - 1 ; ^ Hides DEY NOP DEX BMI @X PLP |
Clobbers X, and Y |
SEC LDA #12 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #15 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDX #11 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #11 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
PHP SEC LDA #11 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #11 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #14 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
88 cycles
6 bytes | |
---|---|
NOP LDX #17 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #17 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #16 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #16 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #17 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #15 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #15 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #15 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #15 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TYA PHA LDY #13 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #13 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #13 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
89 cycles
5 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY PLA BMI @Y |
Clobbers A, Y, S, and Z&N |
6 bytes | |
LDY #136 @Y = * - 1 ; ^ Hides DEY NOP NOP BMI @Y |
Clobbers Y, and Z&N |
LDX #10 @X = * - 1 ; ^ Hides ASL A NOP DEX BNE @X |
Clobbers A, X, Z&N, and C |
LDX #11 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDX #11 @X: LDA $00 DEX BNE @X |
Clobbers A, X, and Z&N |
LDX #11 @X: BIT $00 DEX BNE @X |
Clobbers X, Z&N, and V |
LDX #11 @X: STA @zptemp DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
LDX #11 @X: NOP $00 DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
LDX #11 @X: JMP *+3 DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHP LDX #9 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #9 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #12 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TXA PHA LDX #11 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #14 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP PHP SEC LDA #11 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #14 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
90 cycles
6 bytes | |
---|---|
PLA LDX #17 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #17 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #17 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #17 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #16 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #16 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #17 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #16 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #16 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #14 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #14 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
91 cycles
5 bytes | |
---|---|
LDY #18 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #18 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDX #16 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #16 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
SEC LDA #11 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #16 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #16 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #17 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #15 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
PHP SEC LDA #9 @A: NOP NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #9 @A: NOP NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #14 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP NOP PHP PHA SEC LDA #14 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
92 cycles
6 bytes | |
---|---|
LDX #13 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #13 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #12 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #12 @X: NOP DEX BNE @X PLP |
Clobbers X |
PLA SEC LDA #17 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #16 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
NOP PHP SEC LDA #16 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #16 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #15 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
93 cycles
6 bytes | |
---|---|
NOP LDX #18 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #18 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #17 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #17 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #18 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #16 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #16 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #16 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #16 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TYA PHA LDY #14 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #14 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #14 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
94 cycles
6 bytes | |
---|---|
PHA LDX #18 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #18 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
NOP LDY #13 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #13 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #13 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
NOP PHP LDY #12 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #12 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #12 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #12 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #15 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #11 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
95 cycles
6 bytes | |
---|---|
PLA LDX #18 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #18 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #18 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #18 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #17 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #17 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #18 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #17 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #17 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #15 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #15 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
96 cycles
5 bytes | |
---|---|
LDY #19 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #19 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY NOP NOP BMI @Y PLP |
Clobbers Y |
PHP LDX #10 @X = * - 1 ; ^ Hides ASL A NOP DEX BNE @X PLP |
Clobbers A, and X |
PHA PHP LDX #17 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #18 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDX #11 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #13 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TXA PHA LDX #12 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
11 bytes | |
NOP PHP SEC LDA #12 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #12 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #11 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #11 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
97 cycles
6 bytes | |
---|---|
LDY #12 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #12 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDY #8 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #8 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PLA SEC LDA #18 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #17 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #17 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #17 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #17 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #17 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #16 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
98 cycles
6 bytes | |
---|---|
NOP LDX #19 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #19 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #18 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #18 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #19 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #17 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #17 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #11 @A: BIT $00 SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #17 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHP PHA SEC LDA #9 @A: NOP NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
99 cycles
6 bytes | |
---|---|
LDX #14 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #14 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #13 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #13 @X: NOP DEX BNE @X PLP |
Clobbers X |
SEC LDA #12 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
SEC LDA #8 @A: PHP PLP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #17 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #16 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #17 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #16 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
100 cycles
6 bytes | |
---|---|
LDY #11 @Y: PLA DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
LDX #11 @X: PLA DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
LDY #11 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #11 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #18 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #18 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #19 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #18 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #18 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #16 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #16 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
101 cycles
5 bytes | |
---|---|
LDY #20 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #20 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #14 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHP LDY #18 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #18 @X: DEX BNE @X PLP |
Clobbers X, and S |
9 bytes | |
NOP PHP LDY #13 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #13 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #13 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #13 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #12 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
102 cycles
7 bytes | |
---|---|
PHA LDY #14 @Y: NOP DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #14 @X: NOP DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP LDX #11 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #11 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #19 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #18 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #18 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #18 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #18 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #18 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #17 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
103 cycles
6 bytes | |
---|---|
NOP LDX #20 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #20 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #19 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #19 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #20 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TXA PHA LDX #13 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHP SEC LDA #18 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #18 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
NOP PHP SEC LDA #13 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #13 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #12 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #12 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
104 cycles
6 bytes | |
---|---|
PHA LDY #20 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #20 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #20 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #20 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #20 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #20 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDY #20 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #20 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDY #20 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #20 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #20 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #20 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
PHP LDX #8 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
PHP LDY #8 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
NOP PLA SEC LDA #19 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #18 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #17 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #18 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #17 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
105 cycles
6 bytes | |
---|---|
LDX #13 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #13 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #20 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #20 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #19 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #19 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #20 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #19 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #19 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #17 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #11 @A: BIT $00 SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
106 cycles
5 bytes | |
---|---|
LDX #21 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #21 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #14 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #14 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHA SEC LDA #20 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
LDA $00 SEC LDA #20 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #18 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
PHP SEC LDA #8 @A: PHP PLP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #8 @A: PHP PLP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #17 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP NOP PHP PHA SEC LDA #17 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
107 cycles
6 bytes | |
---|---|
LDY #24 @Y = * - 1 ; ^ Hides CLC DEY DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #24 @X = * - 1 ; ^ Hides CLC DEX DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #13 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #19 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDX #11 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #11 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #19 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #19 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #18 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
108 cycles
6 bytes | |
---|---|
NOP LDY #21 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #21 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #20 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #20 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #21 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHP SEC LDA #14 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #14 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #13 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
109 cycles
6 bytes | |
---|---|
PHA LDY #21 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #21 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDX #9 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
LDY #9 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
CLC LDA #244 @A = * - 1 ; ^ Hides !NOP zp,X NOP ADC #1 BNE @A |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
PHA PHP LDY #14 @Y: NOP DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #14 @X: NOP DEX BNE @X PLP |
Clobbers X, and S |
NOP SEC LDA #13 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #19 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #11 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #11 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #18 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #19 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #18 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
110 cycles
6 bytes | |
---|---|
PLA LDY #21 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
PLA LDX #21 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
NOP NOP LDX #21 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #21 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
NOP PHP LDX #20 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #20 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #21 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #20 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #20 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #13 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #18 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
NOP PHP PHA SEC LDA #13 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
111 cycles
5 bytes | |
---|---|
LDY #22 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #22 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDX #20 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #20 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA SEC LDA #21 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #20 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #20 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #9 @A: PHP PLP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #19 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
TYA PHA LDY #11 @Y: NOP NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #14 @A: NOP SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #14 @A: NOP SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #18 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #19 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #18 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
112 cycles
7 bytes | |
---|---|
PHA PHA LDX #21 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA PHA LDY #21 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
NOP NOP NOP LDY #21 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP NOP LDX #21 @X: DEX BNE @X |
Clobbers X, and Z&N |
PLA SEC LDA #21 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #20 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDX #13 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
PHP LDY #13 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #20 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #20 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #19 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
113 cycles
6 bytes | |
---|---|
LDX #16 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #16 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #21 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #21 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #22 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #20 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #20 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #20 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #20 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHP PHA SEC LDA #8 @A: PHP PLP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
114 cycles
6 bytes | |
---|---|
PHA LDX #22 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #22 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDA $00 LDX #22 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
LDA $00 LDY #22 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
BIT $00 LDY #22 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #22 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #22 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
STA @zptemp LDY #22 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDX #22 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDY #22 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
PHP LDX #24 @X = * - 1 ; ^ Hides CLC DEX DEX BNE @X PLP |
Clobbers X |
PHP LDY #24 @Y = * - 1 ; ^ Hides CLC DEY DEY BNE @Y PLP |
Clobbers Y |
9 bytes | |
NOP PLA SEC LDA #21 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #20 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #19 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #20 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #19 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
115 cycles
6 bytes | |
---|---|
PLA LDX #22 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #22 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP LDY #16 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #16 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #21 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #21 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #16 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #21 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #21 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #14 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
116 cycles
5 bytes | |
---|---|
LDX #23 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #23 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHA PHP LDY #21 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #21 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #22 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDX #9 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
PHP LDY #9 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #22 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #20 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
PHP CLC LDA #244 @A = * - 1 ; ^ Hides !NOP zp,X NOP ADC #1 BNE @A PLP |
Clobbers A; and requires support for unofficial opcodes |
PHA CLC LDA #244 @A = * - 1 ; ^ Hides !NOP zp,X NOP ADC #1 BNE @A PLA |
Clobbers Z&N, and C; and requires support for unofficial opcodes |
11 bytes | |
TXA PHA LDX #13 @X: LDA $00 DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #20 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #20 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #19 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #20 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #19 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
117 cycles
7 bytes | |
---|---|
LDX #13 @X = * - 1 ; ^ Hides ORA abs LDA $0 DEX BNE @X |
Clobbers A, X, and Z&N |
LDY #13 @Y = * - 1 ; ^ Hides ORA abs LDA $0 DEY BNE @Y |
Clobbers A, Y, and Z&N |
PHA PHA LDY #22 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #22 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP NOP LDX #16 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #16 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #22 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TXA PHA LDX #21 @X: DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
NOP NOP PHP LDX #21 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #21 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #21 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #21 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #20 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
118 cycles
6 bytes | |
---|---|
NOP LDX #23 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #23 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #22 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #22 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #23 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #24 @Y = * - 1 ; ^ Hides CLC DEY DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #21 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #21 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #9 @A: PHP PLP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #9 @A: PHP PLP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHA TYA PHA LDY #11 @Y: NOP NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #14 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #19 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
119 cycles
6 bytes | |
---|---|
LDY #136 @Y = * - 1 ; ^ Hides DEY PHP PLP BMI @Y |
Clobbers Y, and Z&N |
PHA LDX #23 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDX #23 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDX #23 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #23 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDX #23 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #23 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHA PHA PHP LDY #21 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #21 @X: DEX BNE @X PLP |
Clobbers X, and S |
NOP PLA SEC LDA #22 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TXA PHA LDX #21 @X: DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDX #21 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP NOP PHP LDY #21 @Y: DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #20 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #21 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #20 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
120 cycles
6 bytes | |
---|---|
LDY #17 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #17 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #16 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #16 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #23 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #22 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #22 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #20 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #20 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
121 cycles
5 bytes | |
---|---|
LDY #24 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #24 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #22 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #22 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #23 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #22 @X: DEX BNE @X PLP |
Clobbers X |
PHP BIT $00 LDY #22 @Y: DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #23 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TXA PHA LDX #21 @X: DEX BNE @X PLA TAX |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TXA PHA LDX #21 @X: DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #21 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #21 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #20 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #21 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #20 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
122 cycles
7 bytes | |
---|---|
NOP LDX #17 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #17 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
SEC LDA #17 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #22 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #16 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #16 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #16 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #16 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #21 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
123 cycles
6 bytes | |
---|---|
NOP LDX #24 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #24 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #23 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #23 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #24 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #22 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #22 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #22 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #22 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA CLC LDA #244 @A = * - 1 ; ^ Hides !NOP zp,X NOP ADC #1 BNE @A PLA PLP |
Requires support for unofficial opcodes |
13 bytes | |
PHA TXA PHA LDX #13 @X: LDA $00 DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #20 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #20 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
124 cycles
4 bytes | |
---|---|
LDX #232 @X = * - 1 ; ^ Hides INX BNE @X |
Clobbers X, and Z&N |
6 bytes | |
PHA LDY #24 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDA $00 LDY #24 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
BIT $00 LDY #24 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
STA @zptemp LDY #24 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDY #24 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDY #24 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
PHP LDX #13 @X = * - 1 ; ^ Hides ORA abs LDA $0 DEX BNE @X PLP |
Clobbers A, and X |
PHP LDY #13 @Y = * - 1 ; ^ Hides ORA abs LDA $0 DEY BNE @Y PLP |
Clobbers A, and Y |
NOP SEC LDA #17 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP LDY #22 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #22 @X: DEX BNE @X PLP |
Clobbers X, and S |
10 bytes | |
TXA PHA LDX #16 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
NOP NOP PHP LDX #16 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #16 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TXA PHA LDX #21 @X: DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
NOP PHP SEC LDA #16 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #21 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
125 cycles
6 bytes | |
---|---|
PLA LDX #24 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #24 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #24 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #24 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #23 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #23 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #24 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #23 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #23 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #24 @Y = * - 1 ; ^ Hides CLC DEY DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #21 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #9 @A: PHP PLP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
126 cycles
5 bytes | |
---|---|
LDY #25 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #25 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY PHP PLP BMI @Y PLP |
Clobbers Y |
PHA PHP LDX #23 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #24 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #23 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #24 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #22 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP TXA PHA LDX #16 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #22 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #22 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TXA PHA LDX #21 @X: DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #16 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #21 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
127 cycles
5 bytes | |
---|---|
PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X |
Clobbers X, S, and Z&N |
6 bytes | |
LDY #18 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #18 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #17 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #17 @X: NOP DEX BNE @X PLP |
Clobbers X |
PLA SEC LDA #24 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #23 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
NOP PHP SEC LDA #23 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #23 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #22 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
128 cycles
5 bytes | |
---|---|
PLA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X |
Clobbers A, X, S, and Z&N |
6 bytes | |
NOP LDX #25 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #25 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #24 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #24 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #25 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #23 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #23 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #23 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #23 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TXA PHA LDX #21 @X: DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #21 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #21 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
129 cycles
6 bytes | |
---|---|
LDY #16 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #16 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
NOP LDX #18 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #18 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
SEC LDA #18 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
NOP PHP LDY #17 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #17 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #17 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #17 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #22 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #16 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
130 cycles
6 bytes | |
---|---|
PHA PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X |
Clobbers X, S, and Z&N |
PLA LDY #25 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #25 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #25 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #24 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #24 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #25 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #24 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #24 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #22 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #22 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
131 cycles
5 bytes | |
---|---|
LDY #26 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #26 @X: DEX BNE @X |
Clobbers X, and Z&N |
6 bytes | |
PHP LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLP |
Clobbers X |
8 bytes | |
PHA PHP LDY #24 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
SEC LDA #16 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #24 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #18 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #17 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
NOP PHP SEC LDA #17 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #17 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #16 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #16 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
132 cycles
6 bytes | |
---|---|
PLA PLA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
TSX PLA TXS LDX #232 @X = * - 1 ; ^ Hides INX BNE @X |
Clobbers A, X, and Z&N |
PHA LDX #16 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #16 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
NOP NOP NOP LDX #25 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #25 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #25 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #24 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #24 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #24 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
NOP PHP SEC LDA #24 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #24 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #23 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
133 cycles
6 bytes | |
---|---|
NOP LDX #26 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #26 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #25 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #25 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #26 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #24 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #24 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #24 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #24 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP PHA TXA PHA LDX #16 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #22 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP PHP PHA SEC LDA #16 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
134 cycles
6 bytes | |
---|---|
LDY #19 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #19 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHA PHP LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLP |
Clobbers X, and S |
8 bytes | |
PHP LDX #18 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #18 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
9 bytes | |
NOP PLA SEC LDA #25 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #24 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #23 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #24 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #23 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
135 cycles
6 bytes | |
---|---|
PLA LDX #26 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #26 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #26 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #26 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
TXA PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLA TAX |
Clobbers A, and Z&N |
NOP PHP LDY #25 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #25 @X: DEX BNE @X PLP |
Clobbers X |
9 bytes | |
PHP SEC LDA #25 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #25 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #23 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #23 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
136 cycles
5 bytes | |
---|---|
LDY #27 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #27 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #19 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHP LDY #25 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #25 @X: DEX BNE @X PLP |
Clobbers X, and S |
9 bytes | |
PHP LDY #16 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #16 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #18 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #18 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #17 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
137 cycles
6 bytes | |
---|---|
LDX #17 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #17 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDX #17 @X: LDA $00 DEX BNE @X |
Clobbers A, X, and Z&N |
LDY #17 @Y: LDA $00 DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDX #17 @X: BIT $00 DEX BNE @X |
Clobbers X, Z&N, and V |
LDY #17 @Y: BIT $00 DEY BNE @Y |
Clobbers Y, Z&N, and V |
LDY #17 @Y: STA @zptemp DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
LDX #17 @X: STA @zptemp DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
LDY #17 @Y: NOP $00 DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
LDX #17 @X: NOP $00 DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
LDX #17 @X: JMP *+3 DEX BNE @X |
Clobbers X, and Z&N |
LDY #17 @Y: JMP *+3 DEY BNE @Y |
Clobbers Y, and Z&N |
PHA PHA PHP LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLP |
Clobbers X, and S |
PLA SEC LDA #26 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #25 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #25 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #25 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
NOP PHP SEC LDA #25 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #25 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #24 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
138 cycles
6 bytes | |
---|---|
NOP LDX #27 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #27 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #26 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #26 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #27 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHA TXA PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLA TAX |
Clobbers A, S, and Z&N |
10 bytes | |
TYA PHA LDY #18 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #25 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #25 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #16 @A: BIT $00 SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #18 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #17 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #17 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
139 cycles
6 bytes | |
---|---|
PHA LDY #27 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #27 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDY #136 @Y = * - 1 ; ^ Hides DEY NOP PHP PLP BMI @Y |
Clobbers Y, and Z&N |
JSR @rts15 LDX #232 @X = * - 1 ; ^ Hides INX BNE @X |
Clobbers X, and Z&N; and requires @rts15 |
LDA $00 LDX #27 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDX #27 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #27 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDX #27 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #27 @X: DEX BNE @X |
Clobbers X, and Z&N |
SEC LDA #17 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP TSX PLA TXS LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLP |
Clobbers A, and X |
SEC LDA #17 @A: BIT $00 SBC #1 BNE @A |
Clobbers A, Z&N, C, and V |
SEC LDA #17 @A: STA @zptemp SBC #1 BNE @A |
Clobbers A, Z&N, and C; and requires @zptemp |
PLA TXA PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLA TAX |
Clobbers A, S, and Z&N |
PHA PHA PHP LDY #25 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #25 @X: DEX BNE @X PLP |
Clobbers X, and S |
SEC LDA #17 @A: NOP $00 SBC #1 BNE @A |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
10 bytes | |
NOP TYA PHA LDY #25 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDY #25 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP NOP PHP LDX #25 @X: DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #24 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #25 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #24 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
140 cycles
6 bytes | |
---|---|
PLA LDX #27 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #27 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #27 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #27 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #26 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #26 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #27 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #26 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #26 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #24 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #24 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
141 cycles
5 bytes | |
---|---|
LDX #28 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #28 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #19 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #19 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHA SEC LDA #27 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
LDA $00 SEC LDA #27 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #25 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #25 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #25 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #25 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #24 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #25 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #24 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
142 cycles
7 bytes | |
---|---|
LDY #152 @Y = * - 1 ; ^ Hides TYA NOP DEY DEY BMI @Y |
Clobbers A, Y, and Z&N |
LDX #152 @X = * - 1 ; ^ Hides TYA NOP DEX DEX BMI @X |
Clobbers A, X, and Z&N |
PHA PHA LDY #27 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #27 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #26 @Y = * - 1 ; ^ Hides !NOP NOP DEY DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
LDX #26 @X = * - 1 ; ^ Hides !NOP NOP DEX DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
NOP NOP NOP LDX #27 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #27 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #27 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #26 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #26 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #26 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHA TXA PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLA TAX PLA |
Clobbers Z&N |
NOP PHP SEC LDA #26 @A: SBC #1 BNE @A PLP |
Clobbers A |
11 bytes | |
PHP PHA SEC LDA #25 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
143 cycles
6 bytes | |
---|---|
NOP LDY #28 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #28 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #27 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #27 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #28 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHP SEC LDA #19 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #19 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #18 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
144 cycles
6 bytes | |
---|---|
PHA LDY #28 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #28 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #28 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #28 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #28 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #28 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDY #28 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #28 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDY #28 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #28 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDY #28 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
JMP *+3 LDX #28 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHP LDX #17 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
PHP LDY #17 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
NOP PLA SEC LDA #27 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #26 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #25 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #26 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #25 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
145 cycles
6 bytes | |
---|---|
LDY #18 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #18 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDY #12 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #12 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #27 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #27 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #28 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #27 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #27 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA PHA TXA PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLA TAX PLA |
Clobbers S, and Z&N |
12 bytes | |
PHA TYA PHA LDY #18 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #25 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #16 @A: BIT $00 SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
146 cycles
5 bytes | |
---|---|
LDY #29 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #29 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDX #27 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #27 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA SEC LDA #28 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #27 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #136 @Y = * - 1 ; ^ Hides DEY NOP PHP PLP BMI @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #28 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #26 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
PHP SEC LDA #17 @A: BIT $00 SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #17 @A: BIT $00 SBC #1 BNE @A PLA |
Clobbers Z&N, C, and V |
PHA SEC LDA #17 @A: STA @zptemp SBC #1 BNE @A PLA |
Clobbers Z&N, and C; and requires @zptemp |
PHA PHA SEC LDA #19 @A: NOP SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
PHA SEC LDA #17 @A: NOP $00 SBC #1 BNE @A PLA |
Clobbers Z&N, and C; and requires support for unofficial opcodes |
12 bytes | |
NOP PHA TYA PHA LDY #25 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP NOP PHP PHA SEC LDA #25 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
147 cycles
7 bytes | |
---|---|
NOP LDX #18 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
NOP LDY #18 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
NOP LDX #12 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #12 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
SEC LDA #18 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #27 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #27 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #27 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
NOP PHP SEC LDA #27 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #27 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #26 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
148 cycles
6 bytes | |
---|---|
LDX #21 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #21 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #28 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #28 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #29 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #27 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #27 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #27 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #27 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHA PHA TXA PHA LDX #232 @X = * - 1 ; ^ Hides INX BNE @X PLA TAX PLA |
Clobbers S, and Z&N |
13 bytes | |
NOP NOP PHA TYA PHA LDY #25 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #25 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #25 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
149 cycles
6 bytes | |
---|---|
PHA LDX #29 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #29 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDA $00 LDX #29 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
LDA $00 LDY #29 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
BIT $00 LDY #29 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #29 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #29 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
STA @zptemp LDY #29 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDX #29 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDY #29 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDY #29 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
JMP *+3 LDX #29 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHP LDX #152 @X = * - 1 ; ^ Hides TYA NOP DEX DEX BMI @X PLP |
Clobbers A, and X |
PHP LDY #152 @Y = * - 1 ; ^ Hides TYA NOP DEY DEY BMI @Y PLP |
Clobbers A, and Y |
PHA PHA PHP LDY #27 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #27 @X: DEX BNE @X PLP |
Clobbers X, and S |
NOP SEC LDA #18 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
PHP LDX #26 @X = * - 1 ; ^ Hides !NOP NOP DEX DEX BNE @X PLP |
Clobbers X; and requires support for unofficial opcodes |
PHP LDY #26 @Y = * - 1 ; ^ Hides !NOP NOP DEY DEY BNE @Y PLP |
Clobbers Y; and requires support for unofficial opcodes |
10 bytes | |
NOP TYA PHA LDY #27 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDX #27 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP NOP PHP LDY #27 @Y: DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #26 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #27 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #26 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
150 cycles
6 bytes | |
---|---|
PLA LDX #29 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #29 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP LDY #21 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #21 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #28 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #28 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #21 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #28 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #28 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #19 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
151 cycles
5 bytes | |
---|---|
LDY #30 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #30 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #28 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #28 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #29 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #28 @X: DEX BNE @X PLP |
Clobbers X |
PHP BIT $00 LDY #28 @Y: DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #29 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #27 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #27 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #27 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #27 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #26 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #27 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #26 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
152 cycles
7 bytes | |
---|---|
PHA PHA LDY #29 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #29 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP NOP LDX #21 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #21 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #29 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TXA PHA LDX #28 @X: DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHP LDX #12 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
PHP LDY #12 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #28 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #28 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #27 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
153 cycles
5 bytes | |
---|---|
LDY #234 @Y = * - 1 ; ^ Hides NOP INY BNE @Y |
Clobbers Y, and Z&N |
LDX #234 @X = * - 1 ; ^ Hides NOP INX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #29 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #29 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #30 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #28 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #28 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #28 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #28 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHP PHA SEC LDA #17 @A: BIT $00 SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
154 cycles
6 bytes | |
---|---|
PHA LDX #30 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #30 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDY #17 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #17 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHA PHA PHP LDY #28 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #28 @X: DEX BNE @X PLP |
Clobbers X, and S |
NOP PLA SEC LDA #29 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TXA PHA LDX #28 @X: DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
NOP PHP LDY #12 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #12 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #27 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #28 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #27 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
155 cycles
6 bytes | |
---|---|
LDX #22 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #22 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
CLC LDA #234 @A = * - 1 ; ^ Hides NOP ADC #1 BNE @A |
Clobbers A, Z&N, and C |
8 bytes | |
PHP LDY #21 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #21 @X: NOP DEX BNE @X PLP |
Clobbers X |
9 bytes | |
PHP SEC LDA #29 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #29 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #27 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #27 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
156 cycles
5 bytes | |
---|---|
LDY #31 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #31 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #29 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #29 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #30 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #29 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #29 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #17 @A: NOP NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TXA PHA LDX #28 @X: DEX BNE @X PLA TAX |
Clobbers A, S, and Z&N |
11 bytes | |
TYA PHA LDY #12 @Y: PHP PLP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #28 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #28 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #27 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #28 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #27 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
157 cycles
6 bytes | |
---|---|
PLA LDX #234 @X = * - 1 ; ^ Hides NOP INX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #234 @Y = * - 1 ; ^ Hides NOP INY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
LDY #13 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #13 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #22 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #29 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #21 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #21 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #21 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #21 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #28 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
158 cycles
6 bytes | |
---|---|
NOP LDX #31 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #31 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #30 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #30 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #31 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #29 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #29 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #29 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #29 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TYA PHA LDY #27 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #27 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #27 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
159 cycles
6 bytes | |
---|---|
PHA LDY #31 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #31 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #31 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #31 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #31 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #31 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #31 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
STA @zptemp LDY #31 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDY #31 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #31 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #31 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #31 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PLA CLC LDA #234 @A = * - 1 ; ^ Hides NOP ADC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
SEC LDA #13 @A: PHP PLP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP LDY #29 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #29 @X: DEX BNE @X PLP |
Clobbers X, and S |
10 bytes | |
TYA PHA LDY #21 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #21 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #21 @X: NOP DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TXA PHA LDX #28 @X: DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
NOP PHP SEC LDA #21 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #28 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
160 cycles
6 bytes | |
---|---|
PLA LDX #31 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #31 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
PHP LDX #234 @X = * - 1 ; ^ Hides NOP INX BNE @X PLP |
Clobbers X |
PHP LDY #234 @Y = * - 1 ; ^ Hides NOP INY BNE @Y PLP |
Clobbers Y |
8 bytes | |
NOP SEC LDA #31 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #30 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #30 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #28 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #28 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
161 cycles
5 bytes | |
---|---|
LDY #32 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #32 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #30 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #30 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #31 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDX #17 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #17 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #31 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #29 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP TYA PHA LDY #21 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #29 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #29 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TXA PHA LDX #28 @X: DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #21 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #28 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
162 cycles
6 bytes | |
---|---|
LDX #23 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #23 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #22 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #22 @X: NOP DEX BNE @X PLP |
Clobbers X |
PLA SEC LDA #31 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP CLC LDA #234 @A = * - 1 ; ^ Hides NOP ADC #1 BNE @A PLP |
Clobbers A |
PHA CLC LDA #234 @A = * - 1 ; ^ Hides NOP ADC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #29 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
163 cycles
6 bytes | |
---|---|
NOP LDX #32 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #32 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #31 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #31 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #32 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #30 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #30 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #17 @A: NOP NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #17 @A: NOP NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHA TYA PHA LDY #12 @Y: PHP PLP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #28 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #28 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
164 cycles
6 bytes | |
---|---|
PHA LDX #32 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #32 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
NOP LDY #23 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #23 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #23 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #234 @Y = * - 1 ; ^ Hides NOP INY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDY #13 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #13 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #22 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #22 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #29 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #21 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
165 cycles
6 bytes | |
---|---|
PLA LDX #32 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #32 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #32 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #32 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #31 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #31 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #32 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #31 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #31 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #29 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #29 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
166 cycles
5 bytes | |
---|---|
LDX #33 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #33 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHA PHP LDX #31 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #31 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA SEC LDA #32 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #31 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #31 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #23 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TXA PHA LDX #22 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
11 bytes | |
PHP SEC LDA #13 @A: PHP PLP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #13 @A: PHP PLP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #21 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #21 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
167 cycles
5 bytes | |
---|---|
LDY #24 @Y = * - 1 ; ^ Hides CLC DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #24 @X = * - 1 ; ^ Hides CLC DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PLA SEC LDA #32 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #31 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #31 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #31 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
NOP PHP SEC LDA #31 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #31 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #30 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
168 cycles
6 bytes | |
---|---|
NOP LDY #33 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #33 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #32 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #32 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #33 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #31 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #31 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #31 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #31 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP PHA TYA PHA LDY #21 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #29 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP PHP PHA SEC LDA #21 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
169 cycles
6 bytes | |
---|---|
LDY #24 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #24 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #23 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #23 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
9 bytes | |
NOP PLA SEC LDA #32 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #31 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHP PHA CLC LDA #234 @A = * - 1 ; ^ Hides NOP ADC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
170 cycles
6 bytes | |
---|---|
LDY #200 @Y = * - 1 ; ^ Hides INY INY INY BNE @Y |
Clobbers Y, and Z&N |
PHA LDX #24 @X = * - 1 ; ^ Hides CLC DEX BNE @X |
Clobbers X, S, and Z&N |
LDX #90 @X = * - 1 ; ^ Hides !NOP INX INX BPL @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
NOP NOP LDX #33 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #32 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #32 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #33 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #32 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #32 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #30 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #17 @A: NOP NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
171 cycles
5 bytes | |
---|---|
LDY #34 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #34 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #24 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHP LDX #32 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #32 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
9 bytes | |
NOP PHP LDY #23 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #23 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #23 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #23 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #234 @Y = * - 1 ; ^ Hides NOP INY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #22 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
172 cycles
6 bytes | |
---|---|
LDY #19 @Y: PLA DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
LDX #19 @X: PLA DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
LDY #19 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #19 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PLA SEC LDA #33 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #32 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDY #32 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP PHP LDX #32 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
NOP PHP SEC LDA #32 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #32 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #31 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
173 cycles
6 bytes | |
---|---|
NOP LDX #34 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #34 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #33 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #33 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #34 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TXA PHA LDX #23 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
PHA PHP SEC LDA #32 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #32 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
NOP PHP SEC LDA #23 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #23 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #22 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
13 bytes | |
PHP PHA SEC LDA #13 @A: PHP PLP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
174 cycles
5 bytes | |
---|---|
LDX #232 @X = * - 1 ; ^ Hides INX NOP BNE @X |
Clobbers X, and Z&N |
LDY #152 @Y = * - 1 ; ^ Hides TYA DEY BMI @Y |
Clobbers A, Y, and Z&N |
6 bytes | |
PHA LDY #34 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
PHP LDX #24 @X = * - 1 ; ^ Hides CLC DEX BNE @X PLP |
Clobbers X |
PHP LDY #24 @Y = * - 1 ; ^ Hides CLC DEY BNE @Y PLP |
Clobbers Y |
9 bytes | |
SEC LDA #19 @A: NOP NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #32 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #31 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #32 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #31 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
175 cycles
6 bytes | |
---|---|
PLA LDX #34 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #34 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #34 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #34 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #33 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #33 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #34 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #33 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #33 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #31 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #31 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
176 cycles
5 bytes | |
---|---|
LDY #35 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #35 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #24 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #24 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHA SEC LDA #34 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
LDA $00 SEC LDA #34 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #32 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #32 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #32 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #32 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #31 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #32 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #31 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
177 cycles
6 bytes | |
---|---|
LDX #22 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #22 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDY #22 @Y: LDA $00 DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDX #22 @X: LDA $00 DEX BNE @X |
Clobbers A, X, and Z&N |
LDX #22 @X: BIT $00 DEX BNE @X |
Clobbers X, Z&N, and V |
LDY #22 @Y: BIT $00 DEY BNE @Y |
Clobbers Y, Z&N, and V |
LDX #22 @X: STA @zptemp DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
LDY #22 @Y: STA @zptemp DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
LDY #22 @Y: NOP $00 DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
LDX #22 @X: NOP $00 DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
PHP LDY #200 @Y = * - 1 ; ^ Hides INY INY INY BNE @Y PLP |
Clobbers Y |
LDX #22 @X: JMP *+3 DEX BNE @X |
Clobbers X, and Z&N |
PHA PHP LDX #24 @X = * - 1 ; ^ Hides CLC DEX BNE @X PLP |
Clobbers X, and S |
PLA SEC LDA #34 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
PHP LDX #90 @X = * - 1 ; ^ Hides !NOP INX INX BPL @X PLP |
Clobbers X; and requires support for unofficial opcodes |
9 bytes | |
TXA PHA LDX #33 @X: DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
NOP NOP PHP LDX #33 @X: DEX BNE @X PLP |
Clobbers X |
10 bytes | |
NOP PHP SEC LDA #33 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #33 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #32 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
178 cycles
6 bytes | |
---|---|
NOP LDX #35 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #35 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #34 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #34 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #35 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #24 @Y = * - 1 ; ^ Hides CLC DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
PHP SEC LDA #24 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #24 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #23 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
179 cycles
6 bytes | |
---|---|
LDX #21 @X = * - 1 ; ^ Hides ORA zp,X DEX ;first round only DEX BNE @X |
Clobbers A, X, and Z&N |
LDY #21 @Y = * - 1 ; ^ Hides ORA zp,X DEY ;first round only DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDX #216 @X = * - 1 ; ^ Hides CLD INX INX BNE @X |
Clobbers X, Z&N, and D |
LDY #216 @Y = * - 1 ; ^ Hides CLD INY INY BNE @Y |
Clobbers Y, Z&N, and D |
PHA LDX #35 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #35 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #20 @X = * - 1 ; ^ Hides !NOP zp,X NOP DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
LDY #20 @Y = * - 1 ; ^ Hides !NOP zp,X NOP DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
LDX #236 @X = * - 1 ; ^ Hides CPX abs CMP #0 INX BNE @X |
Clobbers X, Z&N, and C |
LDY #236 @Y = * - 1 ; ^ Hides CPX abs CMP #0 INY BNE @Y |
Clobbers Y, Z&N, and C |
BIT $00 LDY #35 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #35 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDY #35 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #35 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
8 bytes | |
JMP *+3 LDX #35 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #35 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
SEC LDA #22 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDX #19 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #19 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #22 @A: BIT $00 SBC #1 BNE @A |
Clobbers A, Z&N, C, and V |
SEC LDA #22 @A: STA @zptemp SBC #1 BNE @A |
Clobbers A, Z&N, and C; and requires @zptemp |
SEC LDA #22 @A: NOP $00 SBC #1 BNE @A |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
10 bytes | |
NOP TXA PHA LDX #33 @X: DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #32 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #33 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #32 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
180 cycles
6 bytes | |
---|---|
PLA LDX #35 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #35 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #35 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #35 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #34 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #34 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #35 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #34 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #34 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #23 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #32 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
NOP PHP PHA SEC LDA #23 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
181 cycles
5 bytes | |
---|---|
LDY #36 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #36 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDX #232 @X = * - 1 ; ^ Hides INX NOP BNE @X PLP |
Clobbers X |
PHP LDY #152 @Y = * - 1 ; ^ Hides TYA DEY BMI @Y PLP |
Clobbers A, and Y |
8 bytes | |
PHA PHP LDY #34 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA SEC LDA #35 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
SEC LDA #20 @A = * - 1 ; ^ Hides !NOP zp,X NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
PHP PLP PHP LDY #24 @Y = * - 1 ; ^ Hides CLC DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #35 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #200 @Y = * - 1 ; ^ Hides INY INY INY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHP SEC LDA #19 @A: NOP NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #19 @A: NOP NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #32 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP NOP PHP PHA SEC LDA #32 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
182 cycles
7 bytes | |
---|---|
LDY #236 @Y = * - 1 ; ^ Hides CPX abs INC @zptemp INY BNE @Y |
Clobbers Y, Z&N, and C; and requires @zptemp |
LDX #236 @X = * - 1 ; ^ Hides CPX abs INC @zptemp INX BNE @X |
Clobbers X, Z&N, and C; and requires @zptemp |
PHA PHA LDY #35 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #35 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP NOP NOP LDX #35 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #35 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #35 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #34 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #34 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #34 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #34 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #34 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #33 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
183 cycles
6 bytes | |
---|---|
LDX #26 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #26 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #35 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #35 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #36 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #34 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #34 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #34 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #34 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TYA PHA LDY #32 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #32 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #32 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
184 cycles
6 bytes | |
---|---|
PHA LDY #36 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #36 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #36 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #36 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #36 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #36 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDY #36 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #36 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDY #36 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #36 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #36 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #36 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PHA PHP LDX #232 @X = * - 1 ; ^ Hides INX NOP BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #152 @Y = * - 1 ; ^ Hides TYA DEY BMI @Y PLP |
Clobbers A, Y, and S |
9 bytes | |
PHP LDX #22 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
PHP LDY #22 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
NOP PLA SEC LDA #35 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #34 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TXA PHA LDX #33 @X: DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #34 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #33 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
185 cycles
6 bytes | |
---|---|
LDX #23 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #23 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
NOP LDY #26 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #26 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #35 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #35 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #26 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #35 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #35 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #24 @Y = * - 1 ; ^ Hides CLC DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #24 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
186 cycles
5 bytes | |
---|---|
LDX #37 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #37 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #216 @Y = * - 1 ; ^ Hides CLD INY INY BNE @Y PLP |
Clobbers Y |
PHP LDX #216 @X = * - 1 ; ^ Hides CLD INX INX BNE @X PLP |
Clobbers X |
PHA SEC LDA #36 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
LDA $00 SEC LDA #36 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #34 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
PHP SEC LDA #22 @A: BIT $00 SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #22 @A: BIT $00 SBC #1 BNE @A PLA |
Clobbers Z&N, C, and V |
PHA SEC LDA #22 @A: STA @zptemp SBC #1 BNE @A PLA |
Clobbers Z&N, and C; and requires @zptemp |
PHA PHA PHA SEC LDA #34 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
PHA SEC LDA #22 @A: NOP $00 SBC #1 BNE @A PLA |
Clobbers Z&N, and C; and requires support for unofficial opcodes |
12 bytes | |
NOP PHA TXA PHA LDX #33 @X: DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
13 bytes | |
NOP NOP PHP PHA SEC LDA #33 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
187 cycles
7 bytes | |
---|---|
NOP LDY #23 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
NOP LDX #23 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP NOP LDX #26 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #26 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
SEC LDA #23 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #35 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #35 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #35 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #35 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #35 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #34 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
188 cycles
6 bytes | |
---|---|
NOP LDY #37 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #37 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDX #36 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #36 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #37 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #35 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #35 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
PHP SEC LDA #20 @A = * - 1 ; ^ Hides !NOP zp,X NOP SBC #1 BNE @A PLP |
Clobbers A; and requires support for unofficial opcodes |
PHA SEC LDA #20 @A = * - 1 ; ^ Hides !NOP zp,X NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C; and requires support for unofficial opcodes |
11 bytes | |
PHP LDA $00 SEC LDA #35 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #35 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #200 @Y = * - 1 ; ^ Hides INY INY INY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
PHP PHA SEC LDA #19 @A: NOP NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
189 cycles
6 bytes | |
---|---|
PHA LDY #37 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #37 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #37 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #37 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #37 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #37 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
LDY #136 @Y = * - 1 ; ^ Hides DEY JSR @rts14 BMI @Y |
Clobbers Y, and Z&N; and requires @rts14 |
STA @zptemp LDY #37 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #37 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDY #37 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #37 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #37 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #37 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
PHP LDX #236 @X = * - 1 ; ^ Hides CPX abs INC @zptemp INX BNE @X PLP |
Clobbers X; and requires @zptemp |
PHP LDY #236 @Y = * - 1 ; ^ Hides CPX abs INC @zptemp INY BNE @Y PLP |
Clobbers Y; and requires @zptemp |
PHA PHA PHP LDY #35 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #35 @X: DEX BNE @X PLP |
Clobbers X, and S |
NOP SEC LDA #23 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #35 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDX #35 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP NOP PHP LDY #35 @Y: DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #34 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #35 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #34 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
190 cycles
6 bytes | |
---|---|
LDY #27 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #27 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #26 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #26 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #37 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #36 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #36 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #34 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #34 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
191 cycles
5 bytes | |
---|---|
LDY #38 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #38 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #36 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #36 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #37 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #36 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #36 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #37 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #35 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #35 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #35 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #35 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #34 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #35 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #34 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
192 cycles
7 bytes | |
---|---|
NOP LDX #27 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #27 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
SEC LDA #27 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #36 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDY #23 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #23 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #26 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #26 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #35 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
193 cycles
6 bytes | |
---|---|
NOP LDX #38 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #38 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #37 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #37 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #38 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #36 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #36 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #36 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #36 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHP PHA SEC LDA #22 @A: BIT $00 SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
194 cycles
6 bytes | |
---|---|
PHA LDY #38 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #38 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #38 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #38 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #38 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #38 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDY #38 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #38 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDY #38 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #38 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #38 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #38 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
NOP SEC LDA #27 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP LDX #36 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHA PHP LDY #36 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
10 bytes | |
TXA PHA LDX #26 @X: NOP DEX BNE @X PLA TAX |
Clobbers A, and Z&N |
NOP PHP LDX #23 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #23 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #35 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP PHP SEC LDA #26 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #35 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
195 cycles
6 bytes | |
---|---|
PLA LDX #38 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #38 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #38 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #38 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDX #37 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #37 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #38 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #37 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #37 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #35 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
PHP PHA SEC LDA #20 @A = * - 1 ; ^ Hides !NOP zp,X NOP SBC #1 BNE @A PLA PLP |
Requires support for unofficial opcodes |
13 bytes | |
PHP PHA LDA $00 SEC LDA #35 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
196 cycles
5 bytes | |
---|---|
LDX #39 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #39 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHA PHP LDY #37 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #37 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #38 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDX #37 @X: DEX BNE @X PLP |
Clobbers X |
PHP BIT $00 LDY #37 @Y: DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #38 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #36 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
TYA PHA LDY #23 @Y: LDA $00 DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #36 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #36 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #35 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #26 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #35 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
197 cycles
6 bytes | |
---|---|
LDY #28 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #28 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #27 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #27 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PLA SEC LDA #38 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #37 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
NOP PHP SEC LDA #37 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #37 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #36 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
198 cycles
6 bytes | |
---|---|
NOP LDY #39 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #39 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDX #38 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #38 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #39 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #37 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #37 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #37 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #37 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TYA PHA LDY #35 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #35 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #35 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
199 cycles
5 bytes | |
---|---|
LDX #232 @X = * - 1 ; ^ Hides INX PHA BNE @X |
Clobbers X, S, and Z&N |
6 bytes | |
LDX #232 @X = * - 1 ; ^ Hides INX LDA $00 BNE @X |
Clobbers A, X, and Z&N |
LDX #232 @X = * - 1 ; ^ Hides INX BIT $00 BNE @X |
Clobbers X, Z&N, and V |
LDX #232 @X = * - 1 ; ^ Hides INX STA @zptemp BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
PHA LDY #39 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #232 @X = * - 1 ; ^ Hides INX NOP $00 BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
LDX #22 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
LDY #22 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
SEC LDA #28 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
NOP PHP LDY #27 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #27 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #27 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #27 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #36 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #26 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
200 cycles
6 bytes | |
---|---|
PLA LDY #39 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
PLA LDX #39 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
NOP NOP LDX #39 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #39 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
NOP PHP LDY #38 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #38 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #39 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #38 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #38 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #36 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #36 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
201 cycles
5 bytes | |
---|---|
LDY #40 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #40 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #38 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #38 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #39 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #38 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #38 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #22 @A: NOP NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #27 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
NOP PHP SEC LDA #27 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #27 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TXA PHA LDX #26 @X: NOP DEX BNE @X PLA TAX PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #26 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
202 cycles
6 bytes | |
---|---|
PHA LDX #232 @X = * - 1 ; ^ Hides INX PHA BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
PHA PHA LDY #39 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
NOP NOP NOP LDY #39 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP NOP LDX #39 @X: DEX BNE @X |
Clobbers X, and Z&N |
PLA SEC LDA #39 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #38 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #38 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #38 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #38 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #38 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #37 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
203 cycles
6 bytes | |
---|---|
NOP LDX #40 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #40 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #39 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #39 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #40 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #38 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #38 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #38 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #38 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHA TYA PHA LDY #23 @Y: LDA $00 DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #36 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP PHP PHA SEC LDA #26 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
204 cycles
6 bytes | |
---|---|
LDY #29 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #29 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #28 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #28 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
9 bytes | |
NOP PLA SEC LDA #39 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #38 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #37 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #38 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #37 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
205 cycles
6 bytes | |
---|---|
PLA LDX #40 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #40 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
LDY #17 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #17 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #39 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #39 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #40 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #39 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #39 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #37 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #37 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
206 cycles
5 bytes | |
---|---|
LDY #41 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #41 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #232 @X = * - 1 ; ^ Hides INX BIT $00 BNE @X PLP |
Clobbers X |
SEC LDA #29 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHP LDY #39 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
9 bytes | |
PHP LDY #22 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
PHP SEC LDA #28 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #28 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #27 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
207 cycles
7 bytes | |
---|---|
LDY #233 @Y = * - 1 ; ^ Hides SBC #imm BIT $EA ;hides 'NOP' INY BNE @Y |
Clobbers A, Y, Z&N, C, and V |
LDX #233 @X = * - 1 ; ^ Hides SBC #imm BIT $EA ;hides 'NOP' INX BNE @X |
Clobbers A, X, Z&N, C, and V |
PHA LDX #29 @X: NOP DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #29 @Y: NOP DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
NOP LDX #17 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #17 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #40 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #39 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #39 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #39 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #39 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #39 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #38 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
208 cycles
6 bytes | |
---|---|
NOP LDX #41 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #41 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #40 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #40 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #41 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #28 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #39 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #39 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #22 @A: NOP NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #22 @A: NOP NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #27 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #27 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
209 cycles
6 bytes | |
---|---|
LDX #26 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #26 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDX #26 @X: LDA $00 DEX BNE @X |
Clobbers A, X, and Z&N |
LDY #26 @Y: LDA $00 DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDX #26 @X: BIT $00 DEX BNE @X |
Clobbers X, Z&N, and V |
LDY #26 @Y: BIT $00 DEY BNE @Y |
Clobbers Y, Z&N, and V |
LDY #26 @Y: STA @zptemp DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
LDX #26 @X: STA @zptemp DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
LDY #26 @Y: NOP $00 DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
LDX #26 @X: NOP $00 DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
LDX #26 @X: JMP *+3 DEX BNE @X |
Clobbers X, and Z&N |
LDY #26 @Y: JMP *+3 DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
PHA PHA PHP LDY #39 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #39 @X: DEX BNE @X PLP |
Clobbers X, and S |
NOP PLA SEC LDA #40 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #39 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDX #39 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP NOP PHP LDY #39 @Y: DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #38 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #39 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #38 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
210 cycles
6 bytes | |
---|---|
PLA LDX #41 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #41 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #41 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #41 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #40 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #40 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #41 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #40 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #40 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #38 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #38 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
211 cycles
5 bytes | |
---|---|
LDY #42 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #42 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #29 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #29 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #26 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
LDA $00 SEC LDA #41 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #39 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #39 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #39 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #39 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #38 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #39 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #38 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
212 cycles
7 bytes | |
---|---|
PHA LDX #26 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #26 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
NOP NOP NOP LDX #41 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #41 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #41 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #40 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDX #17 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
PHP LDY #17 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #40 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #40 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #39 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
213 cycles
6 bytes | |
---|---|
NOP LDX #42 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #42 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDY #41 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #41 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #42 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHP SEC LDA #29 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #29 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #28 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
214 cycles
6 bytes | |
---|---|
PHA LDX #42 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #42 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDA $00 LDX #42 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
LDA $00 LDY #42 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
BIT $00 LDY #42 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #42 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #42 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
STA @zptemp LDY #42 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDX #42 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDY #42 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #42 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #42 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
PHP LDX #233 @X = * - 1 ; ^ Hides SBC #imm BIT $EA ;hides 'NOP' INX BNE @X PLP |
Clobbers A, and X |
PHP LDY #233 @Y = * - 1 ; ^ Hides SBC #imm BIT $EA ;hides 'NOP' INY BNE @Y PLP |
Clobbers A, and Y |
PHA PHP LDY #29 @Y: NOP DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #29 @X: NOP DEX BNE @X PLP |
Clobbers X, and S |
NOP PLA SEC LDA #41 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #40 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #17 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #17 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #39 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #40 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #39 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
215 cycles
6 bytes | |
---|---|
LDY #24 @Y = * - 1 ; ^ Hides CLC NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #24 @X = * - 1 ; ^ Hides CLC NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #41 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #41 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #42 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #41 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #41 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #28 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #39 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #22 @A: NOP NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
216 cycles
5 bytes | |
---|---|
LDY #43 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #43 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #41 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #41 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #42 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDX #26 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
PHP LDY #26 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #42 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #40 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
TYA PHA LDY #17 @Y: PHP PLP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #29 @A: NOP SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #29 @A: NOP SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #39 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #40 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #39 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
217 cycles
6 bytes | |
---|---|
LDY #27 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #27 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDY #18 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #18 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PLA SEC LDA #42 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #41 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #41 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #41 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #41 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #41 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #40 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
218 cycles
6 bytes | |
---|---|
LDY #31 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #31 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDX #42 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #42 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #43 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #41 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #41 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #26 @A: BIT $00 SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #41 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TYA PHA LDY #39 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #39 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #39 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
219 cycles
6 bytes | |
---|---|
PHA LDY #43 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #43 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDA $00 LDY #43 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDA $00 LDX #43 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
BIT $00 LDY #43 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
LDY #216 @Y = * - 1 ; ^ Hides CLD NOP INY INY BNE @Y |
Clobbers Y, Z&N, and D |
LDX #216 @X = * - 1 ; ^ Hides CLD NOP INX INX BNE @X |
Clobbers X, Z&N, and D |
BIT $00 LDX #43 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDY #43 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
STA @zptemp LDX #43 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
NOP $00 LDY #43 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #43 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDX #43 @X: DEX BNE @X |
Clobbers X, and Z&N |
JMP *+3 LDY #43 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
SEC LDA #27 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
SEC LDA #18 @A: PHP PLP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP LDY #41 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #41 @X: DEX BNE @X PLP |
Clobbers X, and S |
10 bytes | |
NOP TYA PHA LDY #41 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDX #41 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP NOP PHP LDY #41 @Y: DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #40 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #41 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #40 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
220 cycles
6 bytes | |
---|---|
PLA LDX #43 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #43 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP LDX #31 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #31 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
NOP PHP LDY #42 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #42 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #31 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #42 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #42 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #29 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
221 cycles
5 bytes | |
---|---|
LDY #44 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #44 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #42 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #42 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #43 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP BIT $00 LDY #42 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #42 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #43 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #41 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #41 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #41 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #41 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #40 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #41 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #40 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
222 cycles
7 bytes | |
---|---|
PHA PHA LDY #43 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #43 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
PHP LDX #24 @X = * - 1 ; ^ Hides CLC NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #24 @Y = * - 1 ; ^ Hides CLC NOP DEY BNE @Y PLP |
Clobbers Y |
PLA SEC LDA #43 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #42 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
NOP PHP SEC LDA #42 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #42 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #41 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
223 cycles
6 bytes | |
---|---|
NOP LDX #44 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #44 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #43 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #43 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #44 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #42 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #42 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #42 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #42 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHA TYA PHA LDY #17 @Y: PHP PLP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #29 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #40 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
224 cycles
5 bytes | |
---|---|
LDX #232 @X = * - 1 ; ^ Hides INX PLA BNE @X |
Clobbers A, X, S, and Z&N |
6 bytes | |
LDX #232 @X = * - 1 ; ^ Hides INX NOP NOP BNE @X |
Clobbers X, and Z&N |
LDY #152 @Y = * - 1 ; ^ Hides TYA NOP DEY BMI @Y |
Clobbers A, Y, and Z&N |
LDY #228 @Y = * - 1 ; ^ Hides CPX zp NOP INY BNE @Y |
Clobbers Y, Z&N, C, and V |
PHA LDY #44 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDY #100 @Y = * - 1 ; ^ Hides !NOP zp NOP INY BPL @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
BIT $00 LDY #44 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
STA @zptemp LDY #44 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
8 bytes | |
JMP *+3 LDY #44 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
9 bytes | |
PHP LDX #18 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
PHP LDY #18 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
NOP PLA SEC LDA #43 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #42 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #41 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #42 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #41 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
225 cycles
6 bytes | |
---|---|
LDY #32 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #32 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDY #31 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #31 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #44 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #43 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #43 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #41 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #26 @A: BIT $00 SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
226 cycles
5 bytes | |
---|---|
LDY #45 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #45 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #43 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #43 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #44 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
CLC LDA #100 @A = * - 1 ; ^ Hides !NOP zp NOP ADC #1 BPL @A |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
PHP BIT $00 LDY #43 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP BIT $00 LDX #43 @X: DEX BNE @X PLP |
Clobbers X |
LDA $00 SEC LDA #44 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #24 @Y = * - 1 ; ^ Hides CLC NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHP SEC LDA #18 @A: PHP PLP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #18 @A: PHP PLP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #41 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP NOP PHP PHA SEC LDA #41 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
227 cycles
6 bytes | |
---|---|
PHA LDX #232 @X = * - 1 ; ^ Hides INX PLA BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
NOP LDX #32 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #32 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
SEC LDA #32 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
TYA PHA LDY #43 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #31 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #31 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #31 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #31 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #42 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
228 cycles
6 bytes | |
---|---|
NOP LDX #45 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #45 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #44 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #44 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #45 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #43 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #43 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP LDA $00 SEC LDA #43 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #43 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP NOP PHA TYA PHA LDY #41 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #41 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #41 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
229 cycles
6 bytes | |
---|---|
PHA LDX #45 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #45 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDY #19 @Y: PHP PLP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #19 @X: PHP PLP DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
NOP SEC LDA #32 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHA PHP LDY #43 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #43 @X: DEX BNE @X PLP |
Clobbers X, and S |
10 bytes | |
TYA PHA LDY #31 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #31 @X: NOP DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #31 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #42 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP PHP SEC LDA #31 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #42 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
230 cycles
6 bytes | |
---|---|
PLA LDX #45 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #45 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #45 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #45 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #44 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #44 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #45 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #44 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #44 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #42 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #42 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
231 cycles
5 bytes | |
---|---|
LDY #46 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #46 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #232 @X = * - 1 ; ^ Hides INX NOP NOP BNE @X PLP |
Clobbers X |
PHP LDY #228 @Y = * - 1 ; ^ Hides CPX zp NOP INY BNE @Y PLP |
Clobbers Y |
PHA SEC LDA #45 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
SEC LDA #19 @A: PHP PLP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #43 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP TYA PHA LDY #31 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #43 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #43 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #42 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #31 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #42 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
232 cycles
6 bytes | |
---|---|
LDY #33 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #33 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #32 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #32 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PLA SEC LDA #45 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #44 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
10 bytes | |
NOP PHP SEC LDA #44 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #44 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #43 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
233 cycles
6 bytes | |
---|---|
NOP LDX #46 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #46 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #45 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #45 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #46 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #44 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #44 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
PHP CLC LDA #100 @A = * - 1 ; ^ Hides !NOP zp NOP ADC #1 BPL @A PLP |
Clobbers A; and requires support for unofficial opcodes |
PHA CLC LDA #100 @A = * - 1 ; ^ Hides !NOP zp NOP ADC #1 BPL @A PLA |
Clobbers Z&N, and C; and requires support for unofficial opcodes |
11 bytes | |
PHP LDA $00 SEC LDA #44 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA LDA $00 SEC LDA #44 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #24 @Y = * - 1 ; ^ Hides CLC NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
PHP PHA SEC LDA #18 @A: PHP PLP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
234 cycles
6 bytes | |
---|---|
PHA LDX #46 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #46 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
NOP LDX #33 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #33 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
SEC LDA #33 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
NOP PHP LDY #32 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #32 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #32 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #32 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHA TYA PHA LDY #43 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
12 bytes | |
PHP PHA SEC LDA #31 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
235 cycles
6 bytes | |
---|---|
LDY #26 @Y: PLA DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
LDX #26 @X: PLA DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
LDY #26 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #26 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #45 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #45 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #46 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #45 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #45 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #43 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA LDA $00 SEC LDA #43 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
236 cycles
5 bytes | |
---|---|
LDX #47 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #47 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHA PHP LDY #45 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #45 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA SEC LDA #46 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDY #19 @Y: PHP PLP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #19 @X: PHP PLP DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #33 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #32 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
NOP PHP SEC LDA #32 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #32 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #31 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #31 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
237 cycles
7 bytes | |
---|---|
PHA PHA LDY #46 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #46 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP LDX #26 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #26 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #46 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #45 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #45 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #45 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #45 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #45 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #44 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
238 cycles
6 bytes | |
---|---|
NOP LDY #47 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #47 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #46 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #46 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #47 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #45 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #45 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #19 @A: PHP PLP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #19 @A: PHP PLP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
NOP PHA TYA PHA LDY #31 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #43 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP PHP PHA SEC LDA #31 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
239 cycles
6 bytes | |
---|---|
LDY #34 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #34 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHP LDX #33 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #33 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
9 bytes | |
NOP PLA SEC LDA #46 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #45 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
11 bytes | |
PHA TYA PHA LDY #44 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #45 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #44 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
240 cycles
6 bytes | |
---|---|
PLA LDY #47 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
PLA LDX #47 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
NOP NOP LDX #47 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #47 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
NOP PHP LDX #46 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #46 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP SEC LDA #47 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #46 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #46 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #44 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
PHP PHA CLC LDA #100 @A = * - 1 ; ^ Hides !NOP zp NOP ADC #1 BPL @A PLA PLP |
Requires support for unofficial opcodes |
13 bytes | |
PHP PHA LDA $00 SEC LDA #44 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
241 cycles
5 bytes | |
---|---|
LDY #48 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #48 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
SEC LDA #34 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
PHA PHP LDX #46 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #46 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
9 bytes | |
NOP PHP LDY #33 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #33 @X: NOP DEX BNE @X PLP |
Clobbers X |
10 bytes | |
PHP SEC LDA #33 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #33 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #32 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
242 cycles
6 bytes | |
---|---|
LDY #202 @Y = * - 1 ; ^ Hides DEX INY INY BNE @Y |
Clobbers X, Y, and Z&N |
LDY #74 @Y = * - 1 ; ^ Hides LSR A INY INY BPL @Y |
Clobbers A, Y, Z&N, and C |
LDX #74 @X = * - 1 ; ^ Hides LSR A INX INX BPL @X |
Clobbers A, X, Z&N, and C |
7 bytes | |
PHA LDX #34 @X: NOP DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #34 @Y: NOP DEY BNE @Y |
Clobbers Y, S, and Z&N |
8 bytes | |
NOP NOP NOP LDY #47 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP NOP LDX #47 @X: DEX BNE @X |
Clobbers X, and Z&N |
PLA SEC LDA #47 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #46 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHP LDX #26 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #26 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #46 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #46 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #45 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
243 cycles
6 bytes | |
---|---|
NOP LDX #48 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #48 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
7 bytes | |
PHP LDX #47 @X: DEX BNE @X PLP |
Clobbers X |
PHP LDY #47 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #48 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
TYA PHA LDY #33 @Y: NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #46 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #46 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
NOP PHP SEC LDA #33 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #33 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #32 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
13 bytes | |
NOP PHP PHA SEC LDA #32 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
244 cycles
6 bytes | |
---|---|
PHA LDX #48 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #48 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDY #27 @Y: NOP NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #27 @X: NOP NOP DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHA PHA PHP LDY #46 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHA PHP LDX #46 @X: DEX BNE @X PLP |
Clobbers X, and S |
NOP PLA SEC LDA #47 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #46 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP PHP LDY #26 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #26 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #45 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #46 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #45 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
245 cycles
6 bytes | |
---|---|
PLA LDX #48 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #48 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP NOP LDY #48 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP LDX #48 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
NOP PHP LDY #47 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #47 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #48 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #47 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #47 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA PHP PHA SEC LDA #45 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
PHP PHA SEC LDA #19 @A: PHP PLP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
246 cycles
5 bytes | |
---|---|
LDX #49 @X: DEX BNE @X |
Clobbers X, and Z&N |
LDY #49 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
PHP LDY #34 @Y: NOP DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #34 @X: NOP DEX BNE @X PLP |
Clobbers X |
PHA SEC LDA #48 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
SEC LDA #27 @A: NOP NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #46 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
TYA PHA LDY #26 @Y: NOP NOP DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHA PHP SEC LDA #46 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA PHA SEC LDA #46 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #45 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #46 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #45 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
247 cycles
7 bytes | |
---|---|
PHA PHA LDY #48 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA PHA LDX #48 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
8 bytes | |
NOP NOP NOP LDX #48 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP NOP LDY #48 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
PLA SEC LDA #48 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #47 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #47 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #47 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #47 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #47 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #46 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
248 cycles
6 bytes | |
---|---|
NOP LDY #49 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP LDX #49 @X: DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #48 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #48 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #49 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHP SEC LDA #34 @A: NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #34 @A: NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #33 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
249 cycles
6 bytes | |
---|---|
LDY #31 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
LDX #31 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
7 bytes | |
LDY #31 @Y: LDA $00 DEY BNE @Y |
Clobbers A, Y, and Z&N |
LDX #31 @X: LDA $00 DEX BNE @X |
Clobbers A, X, and Z&N |
LDY #31 @Y: BIT $00 DEY BNE @Y |
Clobbers Y, Z&N, and V |
LDX #31 @X: BIT $00 DEX BNE @X |
Clobbers X, Z&N, and V |
LDX #31 @X: STA @zptemp DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
LDY #31 @Y: STA @zptemp DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
LDX #31 @X: NOP $00 DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
LDY #31 @Y: NOP $00 DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
LDY #31 @Y: JMP *+3 DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #31 @X: JMP *+3 DEX BNE @X |
Clobbers X, and Z&N |
PHP LDX #74 @X = * - 1 ; ^ Hides LSR A INX INX BPL @X PLP |
Clobbers A, and X |
PHP LDY #74 @Y = * - 1 ; ^ Hides LSR A INY INY BPL @Y PLP |
Clobbers A, and Y |
PHP LDY #202 @Y = * - 1 ; ^ Hides DEX INY INY BNE @Y PLP |
Clobbers X, and Y |
9 bytes | |
PHA PHP LDX #34 @X: NOP DEX BNE @X PLP |
Clobbers X, and S |
PHA PHP LDY #34 @Y: NOP DEY BNE @Y PLP |
Clobbers Y, and S |
NOP PLA SEC LDA #48 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #47 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDX #47 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP NOP PHP LDY #47 @Y: DEY BNE @Y PLP |
Clobbers Y |
11 bytes | |
PHA TYA PHA LDY #46 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #47 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #46 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
250 cycles
6 bytes | |
---|---|
PLA LDY #49 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
PLA LDX #49 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
7 bytes | |
NOP NOP LDX #49 @X: DEX BNE @X |
Clobbers X, and Z&N |
NOP NOP LDY #49 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
NOP PHP LDY #48 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP PHP LDX #48 @X: DEX BNE @X PLP |
Clobbers X |
NOP SEC LDA #49 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #48 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #48 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHA TYA PHA LDY #33 @Y: NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHP PHA SEC LDA #46 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
13 bytes | |
NOP PHP PHA SEC LDA #33 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
251 cycles
5 bytes | |
---|---|
LDY #50 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #50 @X: DEX BNE @X |
Clobbers X, and Z&N |
8 bytes | |
PHA PHP LDY #48 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
PHA PHP LDX #48 @X: DEX BNE @X PLP |
Clobbers X, and S |
SEC LDA #31 @A: PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
PHP LDX #27 @X: NOP NOP DEX BNE @X PLP |
Clobbers X |
PHP LDY #27 @Y: NOP NOP DEY BNE @Y PLP |
Clobbers Y |
LDA $00 SEC LDA #49 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PLA TYA PHA LDY #47 @Y: DEY BNE @Y PLA TAY |
Clobbers A, S, and Z&N |
11 bytes | |
NOP NOP TYA PHA LDY #47 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
PHA PHP SEC LDA #34 @A: NOP SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #34 @A: NOP SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
12 bytes | |
NOP PHA TYA PHA LDY #46 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP NOP PHP SEC LDA #47 @A: SBC #1 BNE @A PLP |
Clobbers A |
13 bytes | |
NOP NOP PHP PHA SEC LDA #46 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
252 cycles
7 bytes | |
---|---|
PHA LDY #31 @Y: PHA DEY BNE @Y |
Clobbers Y, S, and Z&N |
PHA LDX #31 @X: PHA DEX BNE @X |
Clobbers X, S, and Z&N |
LDY #84 @Y = * - 1 ; ^ Hides !NOP zp,X DEY ;first round only INY INY BPL @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
LDX #84 @X = * - 1 ; ^ Hides !NOP zp,X DEX ;first round only INX INX BPL @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
NOP NOP NOP LDY #49 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
NOP NOP NOP LDX #49 @X: DEX BNE @X |
Clobbers X, and Z&N |
PLA SEC LDA #49 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
9 bytes | |
TYA PHA LDY #48 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP PHP LDX #48 @X: DEX BNE @X PLP |
Clobbers X |
NOP NOP PHP LDY #48 @Y: DEY BNE @Y PLP |
Clobbers Y |
10 bytes | |
NOP PHP SEC LDA #48 @A: SBC #1 BNE @A PLP |
Clobbers A |
NOP PHA SEC LDA #48 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
11 bytes | |
PHP PHA SEC LDA #47 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
253 cycles
6 bytes | |
---|---|
LDY #36 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #36 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
7 bytes | |
PHP LDY #49 @Y: DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #49 @X: DEX BNE @X PLP |
Clobbers X |
SEC LDA #50 @A: SBC #1 BNE @A |
Clobbers A, Z&N, and C |
10 bytes | |
PHA PHP SEC LDA #48 @A: SBC #1 BNE @A PLP |
Clobbers A, and S |
PHA PHA SEC LDA #48 @A: SBC #1 BNE @A PLA |
Clobbers S, Z&N, and C |
11 bytes | |
PHP SEC LDA #27 @A: NOP NOP SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #27 @A: NOP NOP SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
13 bytes | |
PHA TYA PHA LDY #26 @Y: NOP NOP DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHA PHA PHP PHA SEC LDA #46 @A: SBC #1 BNE @A PLA PLP |
Clobbers S |
14 bytes | |
NOP NOP NOP PHP PHA SEC LDA #46 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
254 cycles
6 bytes | |
---|---|
PHA LDX #50 @X: DEX BNE @X |
Clobbers X, S, and Z&N |
PHA LDY #50 @Y: DEY BNE @Y |
Clobbers Y, S, and Z&N |
7 bytes | |
LDA $00 LDX #50 @X: DEX BNE @X |
Clobbers A, X, and Z&N |
LDA $00 LDY #50 @Y: DEY BNE @Y |
Clobbers A, Y, and Z&N |
BIT $00 LDY #50 @Y: DEY BNE @Y |
Clobbers Y, Z&N, and V |
BIT $00 LDX #50 @X: DEX BNE @X |
Clobbers X, Z&N, and V |
STA @zptemp LDX #50 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires @zptemp |
STA @zptemp LDY #50 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires @zptemp |
NOP $00 LDY #50 @Y: DEY BNE @Y |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
NOP $00 LDX #50 @X: DEX BNE @X |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
JMP *+3 LDY #50 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
JMP *+3 LDX #50 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHA PHA PHP LDX #48 @X: DEX BNE @X PLP |
Clobbers X, and S |
PHA PHA PHP LDY #48 @Y: DEY BNE @Y PLP |
Clobbers Y, and S |
NOP PLA SEC LDA #49 @A: SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
NOP TYA PHA LDY #48 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
NOP NOP NOP PHP LDY #48 @Y: DEY BNE @Y PLP |
Clobbers Y |
NOP NOP NOP PHP LDX #48 @X: DEX BNE @X PLP |
Clobbers X |
11 bytes | |
PHA TYA PHA LDY #47 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
NOP NOP PHP SEC LDA #48 @A: SBC #1 BNE @A PLP |
Clobbers A |
12 bytes | |
NOP PHP PHA SEC LDA #47 @A: SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
255 cycles
6 bytes | |
---|---|
PLA LDX #50 @X: DEX BNE @X |
Clobbers A, X, S, and Z&N |
PLA LDY #50 @Y: DEY BNE @Y |
Clobbers A, Y, S, and Z&N |
7 bytes | |
NOP LDX #36 @X: NOP DEX BNE @X |
Clobbers X, and Z&N |
NOP LDY #36 @Y: NOP DEY BNE @Y |
Clobbers Y, and Z&N |
8 bytes | |
NOP PHP LDX #49 @X: DEX BNE @X PLP |
Clobbers X |
NOP PHP LDY #49 @Y: DEY BNE @Y PLP |
Clobbers Y |
SEC LDA #36 @A: NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
9 bytes | |
PHP SEC LDA #49 @A: SBC #1 BNE @A PLP |
Clobbers A |
PHA SEC LDA #49 @A: SBC #1 BNE @A PLA |
Clobbers Z&N, and C |
12 bytes | |
PHP PHA SEC LDA #34 @A: NOP SBC #1 BNE @A PLA PLP |
Clobbers nothing, requires nothing |
256 cycles
5 bytes | |
---|---|
LDY #51 @Y: DEY BNE @Y |
Clobbers Y, and Z&N |
LDX #51 @X: DEX BNE @X |
Clobbers X, and Z&N |
9 bytes | |
PHP LDY #31 @Y: BIT $00 DEY BNE @Y PLP |
Clobbers Y |
PHP LDX #31 @X: BIT $00 DEX BNE @X PLP |
Clobbers X |
SEC LDA #23 @A: PHA PHA SBC #1 BNE @A |
Clobbers A, S, Z&N, and C |
10 bytes | |
SEC LDA #23 @A: NOP NOP NOP SBC #1 BNE @A |
Clobbers A, Z&N, and C |
11 bytes | |
TYA PHA NOP NOP LDY #48 @Y: DEY BNE @Y PLA TAY |
Clobbers A, and Z&N |
12 bytes | |
PHA NOP TYA PHA LDY #47 @Y: DEY BNE @Y PLA TAY PLA |
Clobbers Z&N |
PHP NOP TYA PHA LDY #47 @Y: DEY BNE @Y PLA TAY PLP |
Clobbers A |
13 bytes | |
PHP PHA TYA PHA LDY #46 @Y: DEY BNE @Y PLA TAY PLA PLP |
Clobbers nothing, requires nothing |
More
Bisqwit's 6502 delay_n macro set for ca65: http://bisqwit.iki.fi/src/6502-inline_delay.7z