Fixed cycle delay: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
(Bugfix) |
(Bugfix) |
||
Line 1,299: | Line 1,299: | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
Line 1,440: | Line 1,440: | ||
|<pre>A9 69 LDA #$69 ;hides 'ADC #$D8' | |<pre>A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, C, V, and D | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 1,452: | Line 1,452: | ||
|<pre>A9 69 LDA #$69 ;hides 'ADC #$08' | |<pre>A9 69 LDA #$69 ;hides 'ADC #$08' | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
10 FC BPL *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 1,461: | Line 1,461: | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$EA' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$EA' | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|6 bytes | !colspan="2"|6 bytes | ||
Line 1,613: | Line 1,613: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 1,699: | Line 1,699: | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
48 PHA | 48 PHA | ||
10 FC BPL *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 1,721: | Line 1,721: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, C, V, and D | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 1,730: | Line 1,730: | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 1,751: | Line 1,751: | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 1,880: | Line 1,880: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|5 bytes | !colspan="2"|5 bytes | ||
Line 2,035: | Line 2,035: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
48 PHA | 48 PHA | ||
10 FC BPL *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2</pre>||Clobbers A, S, Z&N, C, V, and D | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 2,056: | Line 2,056: | ||
A9 4B LDA #$4B ;hides 'ASR #$EA' | A9 4B LDA #$4B ;hides 'ASR #$EA' | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 2,069: | Line 2,069: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FA BPL *-4</pre>||Clobbers A, and Z&N; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 2,087: | Line 2,087: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, C, V, and D | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 2,098: | Line 2,098: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 2,123: | Line 2,123: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 2,285: | Line 2,285: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|6 bytes | !colspan="2"|6 bytes | ||
Line 2,389: | Line 2,389: | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 LDA #0 | |<pre>A9 LDA #0 | ||
Line 2,401: | Line 2,401: | ||
|<pre>A5 00 LDA $00 | |<pre>A5 00 LDA $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 2,423: | Line 2,423: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 2,429: | Line 2,429: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 2,676: | Line 2,676: | ||
|<pre>68 PLA | |<pre>68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>A9 LDA #1 | |<pre>A9 LDA #1 | ||
Line 2,696: | Line 2,696: | ||
EA NOP | EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>20 xx xx JSR @rts14 | |<pre>20 xx xx JSR @rts14 | ||
Line 2,706: | Line 2,706: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 2,724: | Line 2,724: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, V, and D; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, V, and D; and writes in stack | ||
|- | |- | ||
Line 2,744: | Line 2,744: | ||
A9 4B LDA #$4B ;hides 'ASR #$EA' | A9 4B LDA #$4B ;hides 'ASR #$EA' | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 2,822: | Line 2,822: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
EA NOP | EA NOP | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, C, V, and D | |||
|- | |- | ||
|<pre>20 xx xx JSR @rts14 | |<pre>20 xx xx JSR @rts14 | ||
Line 2,829: | Line 2,829: | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>A5 00 LDA $00 | |<pre>A5 00 LDA $00 | ||
Line 2,854: | Line 2,854: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$EA' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$EA' | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>04 00 NOP $00 | |<pre>04 00 NOP $00 | ||
Line 2,876: | Line 2,876: | ||
A5 00 LDA $00 | A5 00 LDA $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 2,901: | Line 2,901: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 2,922: | Line 2,922: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 3,156: | Line 3,156: | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 3,176: | Line 3,176: | ||
EA NOP | EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 3,188: | Line 3,188: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 3,209: | Line 3,209: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, V, and D; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, V, and D; and writes in stack | ||
|- | |- | ||
Line 3,215: | Line 3,215: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 3,236: | Line 3,236: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 3,242: | Line 3,242: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 3,312: | Line 3,312: | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$18' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|6 bytes | !colspan="2"|6 bytes | ||
Line 3,322: | Line 3,322: | ||
|<pre>08 PHP | |<pre>08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 3,333: | Line 3,333: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
Line 3,638: | Line 3,638: | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 3,655: | Line 3,655: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 3,726: | Line 3,726: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N; and writes in stack | 68 PLA</pre>||Clobbers Z&N; and writes in stack | ||
|- | |- | ||
Line 3,734: | Line 3,734: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 3,841: | Line 3,841: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 3,851: | Line 3,851: | ||
A9 4B LDA #$4B ;hides 'ASR #$7A' | A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 3,858: | Line 3,858: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 3,876: | Line 3,876: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 3,883: | Line 3,883: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 4,126: | Line 4,126: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|6 bytes | !colspan="2"|6 bytes | ||
Line 4,155: | Line 4,155: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 4,161: | Line 4,161: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 4,190: | Line 4,190: | ||
A5 00 LDA $00 | A5 00 LDA $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 4,196: | Line 4,196: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 4,217: | Line 4,217: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 4,294: | Line 4,294: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A2 F8 LDX #248 ;hides 'SED' | |<pre>A2 F8 LDX #248 ;hides 'SED' | ||
Line 4,309: | Line 4,309: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
A9 4B LDA #$4B ;hides 'ASR #$7A' | A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 4,328: | Line 4,328: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 4,339: | Line 4,339: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 4,346: | Line 4,346: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 4,352: | Line 4,352: | ||
A9 4B LDA #$4B ;hides 'ASR #$7A' | A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 4,370: | Line 4,370: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 4,391: | Line 4,391: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 4,398: | Line 4,398: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 4,420: | Line 4,420: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 4,605: | Line 4,605: | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$2A' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|6 bytes | !colspan="2"|6 bytes | ||
Line 4,612: | Line 4,612: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 4,638: | Line 4,638: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
EA NOP | EA NOP | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 4,659: | Line 4,659: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
EA NOP | EA NOP | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, V, and D; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, V, and D; and writes in stack | ||
|- | |- | ||
Line 4,670: | Line 4,670: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 4,688: | Line 4,688: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 4,695: | Line 4,695: | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 4,714: | Line 4,714: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 4,740: | Line 4,740: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 4,788: | Line 4,788: | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 4,808: | Line 4,808: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 4,827: | Line 4,827: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>A9 09 LDA #$09 ;hides 'ORA #$EA' | |<pre>A9 09 LDA #$09 ;hides 'ORA #$EA' | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FA BPL *-4</pre>||Clobbers A, and Z&N; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 4,862: | Line 4,862: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 4,869: | Line 4,869: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 4,879: | Line 4,879: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 4,903: | Line 4,903: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 4,919: | Line 4,919: | ||
A9 69 LDA #$69 ;hides 'ADC #$D8' | A9 69 LDA #$69 ;hides 'ADC #$D8' | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
10 FC BPL *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 5,116: | Line 5,116: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 5,128: | Line 5,128: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 5,147: | Line 5,147: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 5,162: | Line 5,162: | ||
A9 4B LDA #$4B ;hides 'ASR #$7A' | A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 5,170: | Line 5,170: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 5,238: | Line 5,238: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|6 bytes | !colspan="2"|6 bytes | ||
Line 5,297: | Line 5,297: | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 F9 BPL *-5</pre>||Clobbers A, and Z&N; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 5,303: | Line 5,303: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 5,319: | Line 5,319: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 5,327: | Line 5,327: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 5,411: | Line 5,411: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 5,603: | Line 5,603: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 5,623: | Line 5,623: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
Line 5,633: | Line 5,633: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 5,651: | Line 5,651: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 5,673: | Line 5,673: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 5,679: | Line 5,679: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 5,693: | Line 5,693: | ||
A9 4B LDA #$4B ;hides 'ASR #$7A' | A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 5,702: | Line 5,702: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 5,783: | Line 5,783: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 5,790: | Line 5,790: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 5,802: | Line 5,802: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 5,836: | Line 5,836: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 5,853: | Line 5,853: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 6,055: | Line 6,055: | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 LDA #15 | |<pre>A9 LDA #15 | ||
Line 6,064: | Line 6,064: | ||
|<pre>A5 00 LDA $00 | |<pre>A5 00 LDA $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 6,113: | Line 6,113: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 6,148: | Line 6,148: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 6,203: | Line 6,203: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 6,281: | Line 6,281: | ||
|<pre>68 PLA | |<pre>68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>A9 LDA #16 | |<pre>A9 LDA #16 | ||
Line 6,301: | Line 6,301: | ||
EA NOP | EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 6,308: | Line 6,308: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 6,326: | Line 6,326: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 6,335: | Line 6,335: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 6,364: | Line 6,364: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
EA NOP | EA NOP | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 6,394: | Line 6,394: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F4 BPL *-10</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|15 bytes | !colspan="2"|15 bytes | ||
Line 6,585: | Line 6,585: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 6,614: | Line 6,614: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 6,620: | Line 6,620: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 6,632: | Line 6,632: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 6,646: | Line 6,646: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 6,661: | Line 6,661: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 6,684: | Line 6,684: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 6,695: | Line 6,695: | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 6,763: | Line 6,763: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 6,775: | Line 6,775: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 6,868: | Line 6,868: | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 6,888: | Line 6,888: | ||
EA NOP | EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 6,906: | Line 6,906: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 6,927: | Line 6,927: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 6,942: | Line 6,942: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 7,175: | Line 7,175: | ||
|<pre>08 PHP | |<pre>08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 7,186: | Line 7,186: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|8 bytes | !colspan="2"|8 bytes | ||
Line 7,244: | Line 7,244: | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 7,255: | Line 7,255: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 7,343: | Line 7,343: | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 7,351: | Line 7,351: | ||
9A TXS | 9A TXS | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, X, Z&N, and C | |||
|- | |- | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
Line 7,361: | Line 7,361: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 7,431: | Line 7,431: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 7,437: | Line 7,437: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 7,447: | Line 7,447: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 7,471: | Line 7,471: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 7,485: | Line 7,485: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 7,509: | Line 7,509: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$18' | A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 7,725: | Line 7,725: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 7,743: | Line 7,743: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 7,750: | Line 7,750: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 7,758: | Line 7,758: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 7,858: | Line 7,858: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 7,870: | Line 7,870: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 7,886: | Line 7,886: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 7,893: | Line 7,893: | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 7,915: | Line 7,915: | ||
A5 00 LDA $00 | A5 00 LDA $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 7,921: | Line 7,921: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 7,927: | Line 7,927: | ||
66 00 ROR $00 | 66 00 ROR $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 7,968: | Line 7,968: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 8,084: | Line 8,084: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 8,090: | Line 8,090: | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 8,102: | Line 8,102: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 8,120: | Line 8,120: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 8,141: | Line 8,141: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 8,149: | Line 8,149: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 8,157: | Line 8,157: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 8,191: | Line 8,191: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F4 BPL *-10</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|17 bytes | !colspan="2"|17 bytes | ||
Line 8,222: | Line 8,222: | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 8,228: | Line 8,228: | ||
|<pre>20 xx xx JSR @rts12 | |<pre>20 xx xx JSR @rts12 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 8,234: | Line 8,234: | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 8,252: | Line 8,252: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 8,266: | Line 8,266: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 8,272: | Line 8,272: | ||
76 00 ROR $00,X | 76 00 ROR $00,X | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 8,308: | Line 8,308: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 8,317: | Line 8,317: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 8,328: | Line 8,328: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
10 FC BPL *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 8,442: | Line 8,442: | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 8,456: | Line 8,456: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 8,462: | Line 8,462: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 8,479: | Line 8,479: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
Line 8,490: | Line 8,490: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 8,497: | Line 8,497: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 8,505: | Line 8,505: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 8,514: | Line 8,514: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 8,538: | Line 8,538: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 8,547: | Line 8,547: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 8,563: | Line 8,563: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 8,640: | Line 8,640: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 8,662: | Line 8,662: | ||
|<pre>20 xx xx JSR @rts14 | |<pre>20 xx xx JSR @rts14 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 8,668: | Line 8,668: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 8,685: | Line 8,685: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 8,694: | Line 8,694: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|14 bytes | !colspan="2"|14 bytes | ||
Line 8,826: | Line 8,826: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 8,844: | Line 8,844: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 8,862: | Line 8,862: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 8,872: | Line 8,872: | ||
9A TXS | 9A TXS | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A, and X; and writes in stack | 28 PLP</pre>||Clobbers A, and X; and writes in stack | ||
|- | |- | ||
Line 8,886: | Line 8,886: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 8,910: | Line 8,910: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 8,927: | Line 8,927: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 8,953: | Line 8,953: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 8,964: | Line 8,964: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$2A' | A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 9,025: | Line 9,025: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>A0 F8 LDY #248 ;hides 'SED' | |<pre>A0 F8 LDY #248 ;hides 'SED' | ||
Line 9,098: | Line 9,098: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 9,134: | Line 9,134: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F1 BPL *-13</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|19 bytes | !colspan="2"|19 bytes | ||
Line 9,230: | Line 9,230: | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 9,241: | Line 9,241: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 9,260: | Line 9,260: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 9,275: | Line 9,275: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 9,289: | Line 9,289: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 9,296: | Line 9,296: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 9,303: | Line 9,303: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 9,311: | Line 9,311: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 9,327: | Line 9,327: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 9,405: | Line 9,405: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 9,425: | Line 9,425: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 9,446: | Line 9,446: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 9,454: | Line 9,454: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 9,471: | Line 9,471: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 9,509: | Line 9,509: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F1 BPL *-13</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|20 bytes | !colspan="2"|20 bytes | ||
Line 9,606: | Line 9,606: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 9,613: | Line 9,613: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 9,631: | Line 9,631: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 9,644: | Line 9,644: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 9,661: | Line 9,661: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 9,731: | Line 9,731: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 9,746: | Line 9,746: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 9,774: | Line 9,774: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 9,803: | Line 9,803: | ||
08 PHP | 08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 9,809: | Line 9,809: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 9,819: | Line 9,819: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 9,835: | Line 9,835: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 9,851: | Line 9,851: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 9,866: | Line 9,866: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 9,878: | Line 9,878: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 9,916: | Line 9,916: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F0 BPL *-14</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|21 bytes | !colspan="2"|21 bytes | ||
Line 10,024: | Line 10,024: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 10,030: | Line 10,030: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 10,048: | Line 10,048: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 10,069: | Line 10,069: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 10,075: | Line 10,075: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 10,081: | Line 10,081: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 10,089: | Line 10,089: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 10,106: | Line 10,106: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 10,186: | Line 10,186: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$38' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 10,197: | Line 10,197: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 10,216: | Line 10,216: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 10,228: | Line 10,228: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 10,249: | Line 10,249: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 10,259: | Line 10,259: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 10,281: | Line 10,281: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 10,307: | Line 10,307: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 10,319: | Line 10,319: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 10,450: | Line 10,450: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 10,468: | Line 10,468: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 10,475: | Line 10,475: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 10,534: | Line 10,534: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 10,574: | Line 10,574: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F1 BPL *-13</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|21 bytes | !colspan="2"|21 bytes | ||
Line 10,599: | Line 10,599: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 LDA #36 | |<pre>A9 LDA #36 | ||
Line 10,618: | Line 10,618: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 10,640: | Line 10,640: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>38 SEC | |<pre>38 SEC | ||
Line 10,651: | Line 10,651: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 10,666: | Line 10,666: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 10,675: | Line 10,675: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 10,681: | Line 10,681: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 10,688: | Line 10,688: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 10,695: | Line 10,695: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 10,702: | Line 10,702: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F8 BPL *-6</pre>||Clobbers A, and Z&N; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 10,709: | Line 10,709: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 10,717: | Line 10,717: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 10,724: | Line 10,724: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 10,742: | Line 10,742: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 10,751: | Line 10,751: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 10,761: | Line 10,761: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 10,897: | Line 10,897: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 10,903: | Line 10,903: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 10,921: | Line 10,921: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 10,942: | Line 10,942: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 10,950: | Line 10,950: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 10,968: | Line 10,968: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 11,009: | Line 11,009: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F1 BPL *-13</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|22 bytes | !colspan="2"|22 bytes | ||
Line 11,061: | Line 11,061: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 11,080: | Line 11,080: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 11,116: | Line 11,116: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>A9 2A LDA #$2A ;hides 'ROL A' | |<pre>A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 11,132: | Line 11,132: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 11,138: | Line 11,138: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 11,145: | Line 11,145: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 11,153: | Line 11,153: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 11,161: | Line 11,161: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 11,169: | Line 11,169: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|17 bytes | !colspan="2"|17 bytes | ||
Line 11,306: | Line 11,306: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 11,326: | Line 11,326: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 11,333: | Line 11,333: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 11,345: | Line 11,345: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 11,366: | Line 11,366: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>04 00 NOP $00 | |<pre>04 00 NOP $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 11,395: | Line 11,395: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 11,410: | Line 11,410: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 11,422: | Line 11,422: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 11,464: | Line 11,464: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 F0 BPL *-14</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|23 bytes | !colspan="2"|23 bytes | ||
Line 11,497: | Line 11,497: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 11,504: | Line 11,504: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2 | |||
9A TXS</pre>||Clobbers A, X, Z&N, and C; and writes in stack | 9A TXS</pre>||Clobbers A, X, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 11,539: | Line 11,539: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 11,573: | Line 11,573: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$18' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$18' | ||
Line 11,580: | Line 11,580: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 F9 BMI *-5</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 11,586: | Line 11,586: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 11,593: | Line 11,593: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 11,599: | Line 11,599: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 11,631: | Line 11,631: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 11,637: | Line 11,637: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 11,644: | Line 11,644: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 11,652: | Line 11,652: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 11,660: | Line 11,660: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 11,677: | Line 11,677: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 11,719: | Line 11,719: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EE BPL *-16</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|23 bytes | !colspan="2"|23 bytes | ||
Line 11,824: | Line 11,824: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 11,830: | Line 11,830: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 11,847: | Line 11,847: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 11,856: | Line 11,856: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 11,864: | Line 11,864: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 11,873: | Line 11,873: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 11,879: | Line 11,879: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 11,891: | Line 11,891: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 11,902: | Line 11,902: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 11,914: | Line 11,914: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 12,016: | Line 12,016: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 12,040: | Line 12,040: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 12,046: | Line 12,046: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 12,054: | Line 12,054: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 12,063: | Line 12,063: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
10 F8 BPL *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|18 bytes | !colspan="2"|18 bytes | ||
Line 12,105: | Line 12,105: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EE BPL *-16</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
!colspan="2"|24 bytes | !colspan="2"|24 bytes | ||
Line 12,163: | Line 12,163: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 12,194: | Line 12,194: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 12,205: | Line 12,205: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 12,211: | Line 12,211: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 12,218: | Line 12,218: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 12,224: | Line 12,224: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 12,235: | Line 12,235: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 12,242: | Line 12,242: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 12,256: | Line 12,256: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; writes in stack; and not relocatable code | 68 PLA</pre>||Clobbers Z&N, and C; writes in stack; and not relocatable code | ||
|- | |- | ||
Line 12,263: | Line 12,263: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 12,278: | Line 12,278: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 12,291: | Line 12,291: | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 12,299: | Line 12,299: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 12,309: | Line 12,309: | ||
A9 2A LDA #$2A ;hides 'ROL A' | A9 2A LDA #$2A ;hides 'ROL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 12,318: | Line 12,318: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 12,327: | Line 12,327: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F8 BPL *-6 | |||
68 PLA</pre>||Clobbers Z&N; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 12,336: | Line 12,336: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 12,349: | Line 12,349: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 12,435: | Line 12,435: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 12,472: | Line 12,472: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
B0 FA BCS *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 12,480: | Line 12,480: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
B0 FA BCS *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 12,497: | Line 12,497: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 12,541: | Line 12,541: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 ED BPL *-17</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 12,612: | Line 12,612: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 12,626: | Line 12,626: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 12,669: | Line 12,669: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 12,676: | Line 12,676: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 12,684: | Line 12,684: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 12,690: | Line 12,690: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 12,697: | Line 12,697: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 12,705: | Line 12,705: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 12,728: | Line 12,728: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; writes in stack; and not relocatable code | 68 PLA</pre>||Clobbers Z&N, and C; writes in stack; and not relocatable code | ||
|- | |- | ||
Line 12,735: | Line 12,735: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 12,743: | Line 12,743: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 12,757: | Line 12,757: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 12,765: | Line 12,765: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 12,776: | Line 12,776: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 12,786: | Line 12,786: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
30 FC BMI *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 12,796: | Line 12,796: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
10 F8 BPL *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|18 bytes | !colspan="2"|18 bytes | ||
Line 12,898: | Line 12,898: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 12,916: | Line 12,916: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, and S; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 12,923: | Line 12,923: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 12,930: | Line 12,930: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 12,937: | Line 12,937: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 12,954: | Line 12,954: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 13,000: | Line 13,000: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 ED BPL *-17</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 13,040: | Line 13,040: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FA BPL *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 13,058: | Line 13,058: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 13,066: | Line 13,066: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2 | |||
9A TXS | 9A TXS | ||
28 PLP</pre>||Clobbers A, and X; and writes in stack | 28 PLP</pre>||Clobbers A, and X; and writes in stack | ||
Line 13,097: | Line 13,097: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 13,104: | Line 13,104: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 13,122: | Line 13,122: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 F9 BMI *-5 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 13,145: | Line 13,145: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 13,154: | Line 13,154: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 F9 BMI *-5 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 13,162: | Line 13,162: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 13,170: | Line 13,170: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 13,190: | Line 13,190: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 13,200: | Line 13,200: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 13,259: | Line 13,259: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EE BPL *-16</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 13,301: | Line 13,301: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 13,334: | Line 13,334: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 13,356: | Line 13,356: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 13,372: | Line 13,372: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 13,380: | Line 13,380: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 13,391: | Line 13,391: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 13,437: | Line 13,437: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EC BPL *-18</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 13,456: | Line 13,456: | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$08' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$08' | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>A9 LDA #49 | |<pre>A9 LDA #49 | ||
Line 13,478: | Line 13,478: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 13,496: | Line 13,496: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 13,510: | Line 13,510: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FA BPL *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 13,524: | Line 13,524: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 13,539: | Line 13,539: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 13,547: | Line 13,547: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 13,564: | Line 13,564: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 13,611: | Line 13,611: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EE BPL *-16</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 13,678: | Line 13,678: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, C, V, and D; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 13,685: | Line 13,685: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$EA' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$EA' | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 13,724: | Line 13,724: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 13,747: | Line 13,747: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 13,762: | Line 13,762: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 13,771: | Line 13,771: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 13,778: | Line 13,778: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 13,866: | Line 13,866: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$08' | A9 E9 LDA #$E9 ;hides 'SBC #$08' | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 13,903: | Line 13,903: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 13,910: | Line 13,910: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 13,935: | Line 13,935: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
B0 FA BCS *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 13,983: | Line 13,983: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 ED BPL *-17</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 14,029: | Line 14,029: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A0 88 LDY #136 ;hides 'DEY' | |<pre>A0 88 LDY #136 ;hides 'DEY' | ||
Line 14,050: | Line 14,050: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 14,077: | Line 14,077: | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 14,084: | Line 14,084: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 14,105: | Line 14,105: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 14,124: | Line 14,124: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 14,169: | Line 14,169: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 14,177: | Line 14,177: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 14,186: | Line 14,186: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 14,195: | Line 14,195: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 14,224: | Line 14,224: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 14,233: | Line 14,233: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 14,293: | Line 14,293: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EB BPL *-19</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 14,325: | Line 14,325: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$08' | A9 E9 LDA #$E9 ;hides 'SBC #$08' | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 14,377: | Line 14,377: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 14,393: | Line 14,393: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 14,416: | Line 14,416: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers S; requires @zptemp; and writes in stack | ||
Line 14,425: | Line 14,425: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | ||
Line 14,438: | Line 14,438: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 14,487: | Line 14,487: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 ED BPL *-17</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 14,512: | Line 14,512: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
30 FB BMI *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 14,519: | Line 14,519: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
90 FA BCC *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 14,525: | Line 14,525: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
30 FA BMI *-4</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 14,548: | Line 14,548: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 14,554: | Line 14,554: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 14,574: | Line 14,574: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 14,596: | Line 14,596: | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 14,604: | Line 14,604: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 14,611: | Line 14,611: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 14,619: | Line 14,619: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 14,628: | Line 14,628: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 14,644: | Line 14,644: | ||
24 00 BIT $00 | 24 00 BIT $00 | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 14,652: | Line 14,652: | ||
24 00 BIT $00 | 24 00 BIT $00 | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 14,660: | Line 14,660: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 14,671: | Line 14,671: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 F9 BMI *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 14,721: | Line 14,721: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EB BPL *-19</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 14,768: | Line 14,768: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 14,825: | Line 14,825: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>04 00 NOP $00 | |<pre>04 00 NOP $00 | ||
Line 14,837: | Line 14,837: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 14,862: | Line 14,862: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 14,868: | Line 14,868: | ||
EA NOP | EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 14,929: | Line 14,929: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EC BPL *-18</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 14,976: | Line 14,976: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 14,994: | Line 14,994: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 15,000: | Line 15,000: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 15,008: | Line 15,008: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 15,015: | Line 15,015: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 15,023: | Line 15,023: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 15,030: | Line 15,030: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 15,046: | Line 15,046: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 15,053: | Line 15,053: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 15,061: | Line 15,061: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 15,078: | Line 15,078: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 15,085: | Line 15,085: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 15,092: | Line 15,092: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 15,103: | Line 15,103: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 15,153: | Line 15,153: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EA BPL *-20</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 15,191: | Line 15,191: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 15,197: | Line 15,197: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$08' | A9 E9 LDA #$E9 ;hides 'SBC #$08' | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
30 FC BMI *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 15,215: | Line 15,215: | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires @zptemp; and writes in stack | |||
|- | |- | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
Line 15,221: | Line 15,221: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 15,228: | Line 15,228: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 15,237: | Line 15,237: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F8 BPL *-6</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>38 SEC | |<pre>38 SEC | ||
Line 15,250: | Line 15,250: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 15,311: | Line 15,311: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
10 F7 BPL *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 15,317: | Line 15,317: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 15,324: | Line 15,324: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, C, V, and D; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, V, and D; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 15,333: | Line 15,333: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 15,342: | Line 15,342: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 15,349: | Line 15,349: | ||
EA NOP ;first loop only | EA NOP ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 15,464: | Line 15,464: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 15,503: | Line 15,503: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
Line 15,510: | Line 15,510: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 15,533: | Line 15,533: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 15,540: | Line 15,540: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 15,556: | Line 15,556: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 15,563: | Line 15,563: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|22 bytes | !colspan="2"|22 bytes | ||
Line 15,615: | Line 15,615: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EA BPL *-20</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 15,658: | Line 15,658: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 15,672: | Line 15,672: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 15,680: | Line 15,680: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 15,694: | Line 15,694: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 15,707: | Line 15,707: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 15,715: | Line 15,715: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 15,721: | Line 15,721: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 15,729: | Line 15,729: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 15,746: | Line 15,746: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 15,754: | Line 15,754: | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 15,768: | Line 15,768: | ||
48 PHA | 48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
10 FD BPL *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 15,792: | Line 15,792: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 15,803: | Line 15,803: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 15,868: | Line 15,868: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 EB BPL *-19</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 15,885: | Line 15,885: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A0 F8 LDY #248 ;hides 'SED' | |<pre>A0 F8 LDY #248 ;hides 'SED' | ||
Line 15,915: | Line 15,915: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 16,046: | Line 16,046: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
10 E9 BPL *-21</pre>||Clobbers A, and Z&N | |||
|- | |- | ||
|} | |} | ||
Line 16,104: | Line 16,104: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4</pre>||Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 16,112: | Line 16,112: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 16,118: | Line 16,118: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
90 FA BCC *-4 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 16,125: | Line 16,125: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
90 FA BCC *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 16,134: | Line 16,134: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 16,140: | Line 16,140: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 16,147: | Line 16,147: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 16,164: | Line 16,164: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 16,172: | Line 16,172: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 16,180: | Line 16,180: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 16,189: | Line 16,189: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 16,196: | Line 16,196: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 16,205: | Line 16,205: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 16,216: | Line 16,216: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 16,225: | Line 16,225: | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and not relocatable code | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 16,233: | Line 16,233: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 16,241: | Line 16,241: | ||
68 PLA | 68 PLA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 16,253: | Line 16,253: | ||
24 00 BIT $00 | 24 00 BIT $00 | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 16,260: | Line 16,260: | ||
66 00 ROR $00 | 66 00 ROR $00 | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|22 bytes | !colspan="2"|22 bytes | ||
Line 16,317: | Line 16,317: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>A2 0B LDX #11 | |<pre>A2 0B LDX #11 | ||
Line 16,335: | Line 16,335: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 16,354: | Line 16,354: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 16,397: | Line 16,397: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 16,405: | Line 16,405: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 16,413: | Line 16,413: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 16,421: | Line 16,421: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 16,523: | Line 16,523: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 16,571: | Line 16,571: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 16,594: | Line 16,594: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 16,603: | Line 16,603: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 16,612: | Line 16,612: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 16,623: | Line 16,623: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 16,632: | Line 16,632: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 16,651: | Line 16,651: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
Line 16,664: | Line 16,664: | ||
24 00 BIT $00 | 24 00 BIT $00 | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 16,718: | Line 16,718: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 FA BMI *-4</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 16,729: | Line 16,729: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 16,762: | Line 16,762: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 16,769: | Line 16,769: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 16,789: | Line 16,789: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 16,798: | Line 16,798: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 16,814: | Line 16,814: | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 16,822: | Line 16,822: | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 16,830: | Line 16,830: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 16,838: | Line 16,838: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 16,855: | Line 16,855: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 16,863: | Line 16,863: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 16,883: | Line 16,883: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F8 BPL *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 16,904: | Line 16,904: | ||
D8 CLD ;first loop only | D8 CLD ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 16,915: | Line 16,915: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 16,985: | Line 16,985: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 17,016: | Line 17,016: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 17,023: | Line 17,023: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 17,038: | Line 17,038: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 FA BCS *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 17,046: | Line 17,046: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 FA BCS *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 17,061: | Line 17,061: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 17,078: | Line 17,078: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 17,086: | Line 17,086: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 17,170: | Line 17,170: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 17,188: | Line 17,188: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 17,195: | Line 17,195: | ||
48 PHA | 48 PHA | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 17,205: | Line 17,205: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 17,220: | Line 17,220: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 17,227: | Line 17,227: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 17,237: | Line 17,237: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 17,262: | Line 17,262: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 17,329: | Line 17,329: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 17,348: | Line 17,348: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>38 SEC | |<pre>38 SEC | ||
Line 17,363: | Line 17,363: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 17,387: | Line 17,387: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 17,469: | Line 17,469: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 17,525: | Line 17,525: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 17,557: | Line 17,557: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 17,565: | Line 17,565: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
90 FA BCC *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 17,574: | Line 17,574: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
30 FA BMI *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 17,586: | Line 17,586: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 17,666: | Line 17,666: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 17,677: | Line 17,677: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 17,708: | Line 17,708: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A5 00 LDA $00 | |<pre>A5 00 LDA $00 | ||
Line 17,731: | Line 17,731: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 17,740: | Line 17,740: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 17,769: | Line 17,769: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 17,868: | Line 17,868: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A2 0C LDX #12 | |<pre>A2 0C LDX #12 | ||
Line 17,940: | Line 17,940: | ||
EA NOP | EA NOP | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
90 F9 BCC *-5</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 17,979: | Line 17,979: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 18,012: | Line 18,012: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 18,071: | Line 18,071: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 18,089: | Line 18,089: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 18,098: | Line 18,098: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 18,106: | Line 18,106: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 18,113: | Line 18,113: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 18,130: | Line 18,130: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 18,138: | Line 18,138: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts12; and writes in stack | 28 PLP</pre>||Requires @rts12; and writes in stack | ||
Line 18,149: | Line 18,149: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 18,160: | Line 18,160: | ||
E6 xx INC @zptemp | E6 xx INC @zptemp | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 18,170: | Line 18,170: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 18,180: | Line 18,180: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
30 FA BMI *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | ||
Line 18,193: | Line 18,193: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
10 F8 BPL *-6 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 18,223: | Line 18,223: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 18,234: | Line 18,234: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 18,267: | Line 18,267: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 18,282: | Line 18,282: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 18,288: | Line 18,288: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 18,295: | Line 18,295: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 18,322: | Line 18,322: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 18,328: | Line 18,328: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 18,335: | Line 18,335: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 18,346: | Line 18,346: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 FA BCS *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 18,422: | Line 18,422: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires @zptemp; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 18,429: | Line 18,429: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 18,461: | Line 18,461: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 18,468: | Line 18,468: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 18,479: | Line 18,479: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 18,488: | Line 18,488: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 18,498: | Line 18,498: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts12; and writes in stack | 28 PLP</pre>||Requires @rts12; and writes in stack | ||
Line 18,510: | Line 18,510: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 18,532: | Line 18,532: | ||
B8 CLV | B8 CLV | ||
50 00 BVC *+2 | 50 00 BVC *+2 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 18,560: | Line 18,560: | ||
EA NOP | EA NOP | ||
48 PHA | 48 PHA | ||
30 FA BMI *-4</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 18,577: | Line 18,577: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>38 SEC | |<pre>38 SEC | ||
Line 18,589: | Line 18,589: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 18,610: | Line 18,610: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 18,634: | Line 18,634: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 18,645: | Line 18,645: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 18,671: | Line 18,671: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 18,680: | Line 18,680: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 18,690: | Line 18,690: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 18,701: | Line 18,701: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 18,755: | Line 18,755: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 18,774: | Line 18,774: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 18,823: | Line 18,823: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 18,881: | Line 18,881: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 18,900: | Line 18,900: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 18,926: | Line 18,926: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 18,933: | Line 18,933: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 18,940: | Line 18,940: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 18,977: | Line 18,977: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 18,989: | Line 18,989: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 19,030: | Line 19,030: | ||
48 PHA | 48 PHA | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FA BPL *-4</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 19,047: | Line 19,047: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 19,059: | Line 19,059: | ||
EA NOP | EA NOP | ||
48 PHA | 48 PHA | ||
30 FA BMI *-4</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 19,073: | Line 19,073: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 19,095: | Line 19,095: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 19,140: | Line 19,140: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 19,237: | Line 19,237: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 19,254: | Line 19,254: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 19,268: | Line 19,268: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 19,285: | Line 19,285: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 19,296: | Line 19,296: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 FA BMI *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 19,323: | Line 19,323: | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
EA NOP | EA NOP | ||
30 FB BMI *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 19,358: | Line 19,358: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 19,365: | Line 19,365: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 19,371: | Line 19,371: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 19,384: | Line 19,384: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 19,390: | Line 19,390: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 19,397: | Line 19,397: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 19,405: | Line 19,405: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 19,423: | Line 19,423: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 19,432: | Line 19,432: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 19,441: | Line 19,441: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 19,450: | Line 19,450: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | ||
Line 19,472: | Line 19,472: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 19,530: | Line 19,530: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 19,576: | Line 19,576: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 19,602: | Line 19,602: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 19,617: | Line 19,617: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 19,626: | Line 19,626: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 19,697: | Line 19,697: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 19,707: | Line 19,707: | ||
48 PHA | 48 PHA | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 19,730: | Line 19,730: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 19,747: | Line 19,747: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 19,754: | Line 19,754: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 19,763: | Line 19,763: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 19,775: | Line 19,775: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 19,785: | Line 19,785: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 19,791: | Line 19,791: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 19,804: | Line 19,804: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 19,855: | Line 19,855: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 19,861: | Line 19,861: | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
EA NOP | EA NOP | ||
30 FB BMI *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 19,883: | Line 19,883: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 19,889: | Line 19,889: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 F9 BPL *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>18 CLC | |<pre>18 CLC | ||
Line 19,908: | Line 19,908: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 19,932: | Line 19,932: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F8 BPL *-6</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 19,955: | Line 19,955: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 19,973: | Line 19,973: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 19,985: | Line 19,985: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 20,027: | Line 20,027: | ||
08 PHP ;first loop only | 08 PHP ;first loop only | ||
EA NOP | EA NOP | ||
30 FB BMI *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 20,092: | Line 20,092: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 20,120: | Line 20,120: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 20,130: | Line 20,130: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 FB BPL *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 20,154: | Line 20,154: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 20,175: | Line 20,175: | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 20,183: | Line 20,183: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 20,232: | Line 20,232: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 20,247: | Line 20,247: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 20,254: | Line 20,254: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 20,261: | Line 20,261: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires @zptemp, and dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp, and dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 20,268: | Line 20,268: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 20,284: | Line 20,284: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 20,291: | Line 20,291: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 20,302: | Line 20,302: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 20,378: | Line 20,378: | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 20,449: | Line 20,449: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 20,480: | Line 20,480: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 20,513: | Line 20,513: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 20,532: | Line 20,532: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 20,556: | Line 20,556: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts15; and writes in stack | 28 PLP</pre>||Requires @rts15; and writes in stack | ||
Line 20,581: | Line 20,581: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 20,589: | Line 20,589: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 FA BPL *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 20,600: | Line 20,600: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 20,612: | Line 20,612: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 20,641: | Line 20,641: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 20,658: | Line 20,658: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 20,691: | Line 20,691: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 20,700: | Line 20,700: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 20,746: | Line 20,746: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 20,785: | Line 20,785: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 20,805: | Line 20,805: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 20,838: | Line 20,838: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 20,875: | Line 20,875: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 20,884: | Line 20,884: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 20,895: | Line 20,895: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 20,926: | Line 20,926: | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 20,977: | Line 20,977: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @zptemp; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 20,983: | Line 20,983: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 20,990: | Line 20,990: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 20,999: | Line 20,999: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 21,005: | Line 21,005: | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 21,021: | Line 21,021: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 21,028: | Line 21,028: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 21,037: | Line 21,037: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 21,044: | Line 21,044: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 21,088: | Line 21,088: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 21,096: | Line 21,096: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 21,105: | Line 21,105: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 21,134: | Line 21,134: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 21,145: | Line 21,145: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 21,185: | Line 21,185: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 21,218: | Line 21,218: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 21,289: | Line 21,289: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 21,301: | Line 21,301: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 21,328: | Line 21,328: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 21,335: | Line 21,335: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 21,353: | Line 21,353: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 21,363: | Line 21,363: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 21,382: | Line 21,382: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 21,391: | Line 21,391: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 21,400: | Line 21,400: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp, and dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires @zptemp, and dummy interrupt handler; and writes in stack | ||
Line 21,409: | Line 21,409: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
Line 21,423: | Line 21,423: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 21,457: | Line 21,457: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 21,474: | Line 21,474: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 21,480: | Line 21,480: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 21,498: | Line 21,498: | ||
24 00 BIT $00 | 24 00 BIT $00 | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 21,508: | Line 21,508: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 21,567: | Line 21,567: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 21,575: | Line 21,575: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 21,583: | Line 21,583: | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 21,644: | Line 21,644: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 21,652: | Line 21,652: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 21,670: | Line 21,670: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 21,691: | Line 21,691: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 21,711: | Line 21,711: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 21,724: | Line 21,724: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 21,772: | Line 21,772: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 FA BMI *-4</pre>||Clobbers A, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 21,795: | Line 21,795: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 21,801: | Line 21,801: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 21,822: | Line 21,822: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 21,828: | Line 21,828: | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
Line 21,834: | Line 21,834: | ||
EA NOP | EA NOP | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 21,842: | Line 21,842: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 21,863: | Line 21,863: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 21,882: | Line 21,882: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 21,890: | Line 21,890: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 21,901: | Line 21,901: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 21,958: | Line 21,958: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 21,982: | Line 21,982: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 21,992: | Line 21,992: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 22,016: | Line 22,016: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,032: | Line 22,032: | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 22,053: | Line 22,053: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 22,082: | Line 22,082: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 22,100: | Line 22,100: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,126: | Line 22,126: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 22,138: | Line 22,138: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
Line 22,146: | Line 22,146: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 22,154: | Line 22,154: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 22,165: | Line 22,165: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 22,175: | Line 22,175: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts15; and writes in stack | 28 PLP</pre>||Requires @rts15; and writes in stack | ||
Line 22,186: | Line 22,186: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 22,218: | Line 22,218: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 22,279: | Line 22,279: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 22,285: | Line 22,285: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 22,303: | Line 22,303: | ||
28 PLP | 28 PLP | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 22,333: | Line 22,333: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 22,357: | Line 22,357: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,375: | Line 22,375: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 22,402: | Line 22,402: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,424: | Line 22,424: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 22,446: | Line 22,446: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 22,500: | Line 22,500: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 22,521: | Line 22,521: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,536: | Line 22,536: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 22,550: | Line 22,550: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 22,563: | Line 22,563: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 22,607: | Line 22,607: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 22,613: | Line 22,613: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 22,619: | Line 22,619: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 22,633: | Line 22,633: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,641: | Line 22,641: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 22,649: | Line 22,649: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 22,663: | Line 22,663: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,686: | Line 22,686: | ||
24 00 BIT $00 | 24 00 BIT $00 | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 22,692: | Line 22,692: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 22,718: | Line 22,718: | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | ||
Line 22,766: | Line 22,766: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 22,799: | Line 22,799: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 22,805: | Line 22,805: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 22,821: | Line 22,821: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 22,829: | Line 22,829: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,853: | Line 22,853: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 22,863: | Line 22,863: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 22,927: | Line 22,927: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 22,935: | Line 22,935: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 22,952: | Line 22,952: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 22,960: | Line 22,960: | ||
7A NOP ;first loop only | 7A NOP ;first loop only | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 22,968: | Line 22,968: | ||
EA NOP | EA NOP | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 22,978: | Line 22,978: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 22,986: | Line 22,986: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 23,039: | Line 23,039: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 23,083: | Line 23,083: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 23,090: | Line 23,090: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 23,098: | Line 23,098: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 23,134: | Line 23,134: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 23,145: | Line 23,145: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 23,226: | Line 23,226: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 23,239: | Line 23,239: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 23,283: | Line 23,283: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 23,289: | Line 23,289: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 23,323: | Line 23,323: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 23,330: | Line 23,330: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 23,338: | Line 23,338: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 23,364: | Line 23,364: | ||
28 PLP | 28 PLP | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 23,373: | Line 23,373: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 23,382: | Line 23,382: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 23,411: | Line 23,411: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 23,422: | Line 23,422: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 23,433: | Line 23,433: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 23,445: | Line 23,445: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 23,569: | Line 23,569: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 23,582: | Line 23,582: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|13 bytes | !colspan="2"|13 bytes | ||
Line 23,594: | Line 23,594: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 23,653: | Line 23,653: | ||
EA NOP | EA NOP | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
Line 23,660: | Line 23,660: | ||
EA NOP | EA NOP | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | |<pre>A9 4B LDA #$4B ;hides 'ASR #$7A' | ||
Line 23,666: | Line 23,666: | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 23,681: | Line 23,681: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 23,688: | Line 23,688: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 23,696: | Line 23,696: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 23,704: | Line 23,704: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 23,712: | Line 23,712: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 23,720: | Line 23,720: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C; requires @zptemp, @rts14, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 23,729: | Line 23,729: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 23,743: | Line 23,743: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|13 bytes | !colspan="2"|13 bytes | ||
Line 23,756: | Line 23,756: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 23,817: | Line 23,817: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
B0 F9 BCS *-5</pre>||Clobbers A, Z&N, C, and V; requires @rts14; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 23,825: | Line 23,825: | ||
28 PLP | 28 PLP | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 F8 BPL *-6</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$2A' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$2A' | ||
Line 23,833: | Line 23,833: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 F8 BCS *-6</pre>||Clobbers A, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 23,839: | Line 23,839: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
B0 FA BCS *-4 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 23,846: | Line 23,846: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
B0 FA BCS *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 23,871: | Line 23,871: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 23,880: | Line 23,880: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 23,899: | Line 23,899: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 23,906: | Line 23,906: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 23,951: | Line 23,951: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 24,024: | Line 24,024: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 24,034: | Line 24,034: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 FA BMI *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 24,062: | Line 24,062: | ||
EA NOP | EA NOP | ||
EA NOP | EA NOP | ||
30 FA BMI *-4</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 24,122: | Line 24,122: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 24,129: | Line 24,129: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 24,166: | Line 24,166: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 24,175: | Line 24,175: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 24,195: | Line 24,195: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
18 CLC | 18 CLC | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 24,312: | Line 24,312: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 24,393: | Line 24,393: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 24,405: | Line 24,405: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 24,463: | Line 24,463: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 24,470: | Line 24,470: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 24,493: | Line 24,493: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 24,509: | Line 24,509: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 24,517: | Line 24,517: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 24,525: | Line 24,525: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 24,567: | Line 24,567: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 24,592: | Line 24,592: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 24,601: | Line 24,601: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 24,667: | Line 24,667: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>38 SEC | |<pre>38 SEC | ||
Line 24,689: | Line 24,689: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>38 SEC | |<pre>38 SEC | ||
Line 24,762: | Line 24,762: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 24,770: | Line 24,770: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 24,802: | Line 24,802: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|12 bytes | !colspan="2"|12 bytes | ||
Line 24,813: | Line 24,813: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 24,826: | Line 24,826: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 24,926: | Line 24,926: | ||
EA NOP | EA NOP | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 24,935: | Line 24,935: | ||
EA NOP | EA NOP | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 24,945: | Line 24,945: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts15; and writes in stack | 28 PLP</pre>||Requires @rts15; and writes in stack | ||
Line 24,957: | Line 24,957: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 24,965: | Line 24,965: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 24,976: | Line 24,976: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 24,985: | Line 24,985: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F7 BNE *-7 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, @rts14, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, @rts14, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 24,997: | Line 24,997: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 25,010: | Line 25,010: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 25,063: | Line 25,063: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 F9 BMI *-5</pre>||Clobbers A, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 25,077: | Line 25,077: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 25,093: | Line 25,093: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 25,099: | Line 25,099: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
B0 F9 BCS *-5 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 25,106: | Line 25,106: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
B0 F9 BCS *-5 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 25,127: | Line 25,127: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 F8 BCS *-6 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 25,135: | Line 25,135: | ||
28 PLP | 28 PLP | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
10 F8 BPL *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 25,145: | Line 25,145: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 F8 BCS *-6 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 25,153: | Line 25,153: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
B0 FA BCS *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 25,166: | Line 25,166: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 25,179: | Line 25,179: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|13 bytes | !colspan="2"|13 bytes | ||
Line 25,193: | Line 25,193: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 25,280: | Line 25,280: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 25,310: | Line 25,310: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 25,360: | Line 25,360: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 25,366: | Line 25,366: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 25,392: | Line 25,392: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 25,430: | Line 25,430: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 25,440: | Line 25,440: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 25,476: | Line 25,476: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>00 00 BRK 0 | |<pre>00 00 BRK 0 | ||
Line 25,483: | Line 25,483: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 25,587: | Line 25,587: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 25,603: | Line 25,603: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 25,651: | Line 25,651: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 25,657: | Line 25,657: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 25,708: | Line 25,708: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 25,771: | Line 25,771: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 25,780: | Line 25,780: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 25,800: | Line 25,800: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts15; and writes in stack | 28 PLP</pre>||Requires @rts15; and writes in stack | ||
Line 25,823: | Line 25,823: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 25,831: | Line 25,831: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 25,880: | Line 25,880: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 25,897: | Line 25,897: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 25,947: | Line 25,947: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 25,982: | Line 25,982: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 26,012: | Line 26,012: | ||
A9 E9 LDA #$E9 ;hides 'SBC #$0A' | A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
B0 FC BCS *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | ||
Line 26,037: | Line 26,037: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 26,078: | Line 26,078: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 26,110: | Line 26,110: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 26,196: | Line 26,196: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|13 bytes | !colspan="2"|13 bytes | ||
Line 26,209: | Line 26,209: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 26,267: | Line 26,267: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 26,273: | Line 26,273: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 26,281: | Line 26,281: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 26,298: | Line 26,298: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 F9 BMI *-5 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 26,307: | Line 26,307: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 F9 BMI *-5 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 26,317: | Line 26,317: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 26,328: | Line 26,328: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12; and writes in stack | ||
|- | |- | ||
Line 26,336: | Line 26,336: | ||
2A ROL A ;first loop only | 2A ROL A ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
B0 F9 BCS *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 26,361: | Line 26,361: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
B0 F8 BCS *-6 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 26,373: | Line 26,373: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|14 bytes | !colspan="2"|14 bytes | ||
Line 26,386: | Line 26,386: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 26,438: | Line 26,438: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 26,463: | Line 26,463: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 26,553: | Line 26,553: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts12; and writes in stack | 28 PLP</pre>||Requires @rts12; and writes in stack | ||
Line 26,599: | Line 26,599: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|14 bytes | !colspan="2"|14 bytes | ||
Line 26,613: | Line 26,613: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 26,686: | Line 26,686: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 26,692: | Line 26,692: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 26,727: | Line 26,727: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 26,745: | Line 26,745: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 26,751: | Line 26,751: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 26,775: | Line 26,775: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 26,794: | Line 26,794: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 26,870: | Line 26,870: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 26,897: | Line 26,897: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts12; and writes in stack | 28 PLP</pre>||Requires @rts12; and writes in stack | ||
Line 27,040: | Line 27,040: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,047: | Line 27,047: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,090: | Line 27,090: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 27,096: | Line 27,096: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 27,150: | Line 27,150: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 27,160: | Line 27,160: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 27,166: | Line 27,166: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,173: | Line 27,173: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,189: | Line 27,189: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,196: | Line 27,196: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,244: | Line 27,244: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 27,254: | Line 27,254: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 27,328: | Line 27,328: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 27,340: | Line 27,340: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 27,364: | Line 27,364: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 27,377: | Line 27,377: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,429: | Line 27,429: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,437: | Line 27,437: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,483: | Line 27,483: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 27,510: | Line 27,510: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 27,543: | Line 27,543: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 27,574: | Line 27,574: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,582: | Line 27,582: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,592: | Line 27,592: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,604: | Line 27,604: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
30 F9 BMI *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 27,617: | Line 27,617: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|13 bytes | !colspan="2"|13 bytes | ||
Line 27,631: | Line 27,631: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 27,650: | Line 27,650: | ||
|<pre>A9 69 LDA #$69 ;hides 'ADC #$38' | |<pre>A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 27,669: | Line 27,669: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 27,704: | Line 27,704: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @zptemp, and @rts14; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 27,710: | Line 27,710: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 27,725: | Line 27,725: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
Line 27,733: | Line 27,733: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires @zptemp; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 27,749: | Line 27,749: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,757: | Line 27,757: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,778: | Line 27,778: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,787: | Line 27,787: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 27,852: | Line 27,852: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|14 bytes | !colspan="2"|14 bytes | ||
Line 27,866: | Line 27,866: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 27,908: | Line 27,908: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 27,975: | Line 27,975: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 28,002: | Line 28,002: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|14 bytes | !colspan="2"|14 bytes | ||
Line 28,017: | Line 28,017: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 28,044: | Line 28,044: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 28,075: | Line 28,075: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,081: | Line 28,081: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,088: | Line 28,088: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 28,105: | Line 28,105: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 28,114: | Line 28,114: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 28,132: | Line 28,132: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 28,139: | Line 28,139: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 28,191: | Line 28,191: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 28,207: | Line 28,207: | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>A5 00 LDA $00 | |<pre>A5 00 LDA $00 | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 28,234: | Line 28,234: | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 28,241: | Line 28,241: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @zptemp, and @rts12; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 28,265: | Line 28,265: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 28,334: | Line 28,334: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 28,358: | Line 28,358: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 28,385: | Line 28,385: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 28,417: | Line 28,417: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 28,458: | Line 28,458: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,470: | Line 28,470: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 28,478: | Line 28,478: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | ||
Line 28,489: | Line 28,489: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 28,519: | Line 28,519: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 28,526: | Line 28,526: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 28,545: | Line 28,545: | ||
|<pre>A9 EB LDA #$EB ;hides 'SBC #$18' | |<pre>A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>A9 LDA #134 | |<pre>A9 LDA #134 | ||
Line 28,555: | Line 28,555: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 28,561: | Line 28,561: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 28,578: | Line 28,578: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 28,584: | Line 28,584: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 28,590: | Line 28,590: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 28,626: | Line 28,626: | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 28,641: | Line 28,641: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @zptemp, and @rts12; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 28,647: | Line 28,647: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 28,654: | Line 28,654: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 28,670: | Line 28,670: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A, and S; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,677: | Line 28,677: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,684: | Line 28,684: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|11 bytes | !colspan="2"|11 bytes | ||
Line 28,702: | Line 28,702: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,709: | Line 28,709: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,728: | Line 28,728: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 28,760: | Line 28,760: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 28,786: | Line 28,786: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 28,813: | Line 28,813: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 28,833: | Line 28,833: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 28,854: | Line 28,854: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 28,888: | Line 28,888: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 28,915: | Line 28,915: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 28,922: | Line 28,922: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 28,940: | Line 28,940: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 28,963: | Line 28,963: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 28,972: | Line 28,972: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts14; and writes in stack | ||
|- | |- | ||
Line 28,980: | Line 28,980: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 28,990: | Line 28,990: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 29,000: | Line 29,000: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 29,011: | Line 29,011: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 29,020: | Line 29,020: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | ||
Line 29,045: | Line 29,045: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 29,069: | Line 29,069: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|14 bytes | !colspan="2"|14 bytes | ||
Line 29,095: | Line 29,095: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 29,122: | Line 29,122: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 29,140: | Line 29,140: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 29,159: | Line 29,159: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 29,183: | Line 29,183: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 29,228: | Line 29,228: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|15 bytes | !colspan="2"|15 bytes | ||
Line 29,242: | Line 29,242: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 29,269: | Line 29,269: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 29,289: | Line 29,289: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 29,295: | Line 29,295: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 29,313: | Line 29,313: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 29,334: | Line 29,334: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 29,358: | Line 29,358: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 29,367: | Line 29,367: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FB BNE *-3 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 29,379: | Line 29,379: | ||
08 PHP | 08 PHP | ||
28 PLP | 28 PLP | ||
D0 F9 BNE *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 29,395: | Line 29,395: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|15 bytes | !colspan="2"|15 bytes | ||
Line 29,410: | Line 29,410: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 29,436: | Line 29,436: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, S, Z&N, C, and V | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp, and support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 29,460: | Line 29,460: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 29,466: | Line 29,466: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 29,487: | Line 29,487: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 29,496: | Line 29,496: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 29,516: | Line 29,516: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 29,523: | Line 29,523: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 29,530: | Line 29,530: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 29,546: | Line 29,546: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts12; and writes in stack | ||
|- | |- | ||
Line 29,553: | Line 29,553: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 29,585: | Line 29,585: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 29,592: | Line 29,592: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 29,617: | Line 29,617: | ||
48 PHA | 48 PHA | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 29,623: | Line 29,623: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 29,640: | Line 29,640: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>E6 xx INC @zptemp | |<pre>E6 xx INC @zptemp | ||
Line 29,646: | Line 29,646: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 29,657: | Line 29,657: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 29,671: | Line 29,671: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 29,685: | Line 29,685: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 29,709: | Line 29,709: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 29,748: | Line 29,748: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 29,794: | Line 29,794: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 29,800: | Line 29,800: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 29,819: | Line 29,819: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 29,826: | Line 29,826: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 29,834: | Line 29,834: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 29,842: | Line 29,842: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 29,859: | Line 29,859: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 29,866: | Line 29,866: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 29,874: | Line 29,874: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 29,882: | Line 29,882: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 29,892: | Line 29,892: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts12; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts12; and writes in stack | ||
|- | |- | ||
Line 29,900: | Line 29,900: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
10 F9 BPL *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 29,909: | Line 29,909: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers S; requires @rts14; and writes in stack | ||
Line 29,918: | Line 29,918: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 29,940: | Line 29,940: | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 29,973: | Line 29,973: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 29,980: | Line 29,980: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 30,009: | Line 30,009: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 30,015: | Line 30,015: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 30,033: | Line 30,033: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 30,054: | Line 30,054: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 30,062: | Line 30,062: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3</pre>||Clobbers A, Z&N, C, and V | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 30,080: | Line 30,080: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 30,096: | Line 30,096: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 30,174: | Line 30,174: | ||
48 PHA | 48 PHA | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 30,180: | Line 30,180: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,187: | Line 30,187: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,196: | Line 30,196: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 30,212: | Line 30,212: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 30,270: | Line 30,270: | ||
48 PHA | 48 PHA | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 30,276: | Line 30,276: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,283: | Line 30,283: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,293: | Line 30,293: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 30,315: | Line 30,315: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 30,333: | Line 30,333: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
D0 FB BNE *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 30,349: | Line 30,349: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|14 bytes | !colspan="2"|14 bytes | ||
Line 30,364: | Line 30,364: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 30,424: | Line 30,424: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,465: | Line 30,465: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 30,473: | Line 30,473: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 30,481: | Line 30,481: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,489: | Line 30,489: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,506: | Line 30,506: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 30,522: | Line 30,522: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|15 bytes | !colspan="2"|15 bytes | ||
Line 30,537: | Line 30,537: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 30,597: | Line 30,597: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; and writes in stack | ||
|- | |- | ||
Line 30,604: | Line 30,604: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires @zptemp, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,611: | Line 30,611: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,619: | Line 30,619: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,627: | Line 30,627: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,645: | Line 30,645: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A; and writes in stack | 28 PLP</pre>||Clobbers A; and writes in stack | ||
|- | |- | ||
Line 30,654: | Line 30,654: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 30,662: | Line 30,662: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 30,673: | Line 30,673: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 30,690: | Line 30,690: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|15 bytes | !colspan="2"|15 bytes | ||
Line 30,706: | Line 30,706: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F5 BNE *-9</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 30,755: | Line 30,755: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 30,781: | Line 30,781: | ||
48 PHA | 48 PHA | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 30,788: | Line 30,788: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,796: | Line 30,796: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,821: | Line 30,821: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 30,828: | Line 30,828: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 30,836: | Line 30,836: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 30,844: | Line 30,844: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 30,851: | Line 30,851: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 30,860: | Line 30,860: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
28 PLP</pre>||Clobbers A, and S; and writes in stack | 28 PLP</pre>||Clobbers A, and S; and writes in stack | ||
|- | |- | ||
Line 30,869: | Line 30,869: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; and writes in stack | ||
|- | |- | ||
Line 30,878: | Line 30,878: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,887: | Line 30,887: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,894: | Line 30,894: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 30,905: | Line 30,905: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 30,912: | Line 30,912: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 30,920: | Line 30,920: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 30,987: | Line 30,987: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 30,999: | Line 30,999: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 31,026: | Line 31,026: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 31,044: | Line 31,044: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 31,054: | Line 31,054: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 31,066: | Line 31,066: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 31,081: | Line 31,081: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 31,138: | Line 31,138: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; requires @rts15, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 31,144: | Line 31,144: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 31,158: | Line 31,158: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 31,165: | Line 31,165: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 31,173: | Line 31,173: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 31,190: | Line 31,190: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 31,198: | Line 31,198: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 31,206: | Line 31,206: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 31,233: | Line 31,233: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 31,265: | Line 31,265: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>A0 16 LDY #22 | |<pre>A0 16 LDY #22 | ||
Line 31,275: | Line 31,275: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 31,306: | Line 31,306: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 F9 BNE *-5</pre>||Clobbers A, Z&N, C, and V; and not relocatable code | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 31,383: | Line 31,383: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 31,395: | Line 31,395: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 31,411: | Line 31,411: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 31,504: | Line 31,504: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | ||
Line 31,516: | Line 31,516: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 31,532: | Line 31,532: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 31,606: | Line 31,606: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 31,624: | Line 31,624: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 31,630: | Line 31,630: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 31,660: | Line 31,660: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 31,666: | Line 31,666: | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 31,673: | Line 31,673: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 31,698: | Line 31,698: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 31,706: | Line 31,706: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 31,736: | Line 31,736: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 31,746: | Line 31,746: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 31,759: | Line 31,759: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 31,775: | Line 31,775: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|15 bytes | !colspan="2"|15 bytes | ||
Line 31,790: | Line 31,790: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 31,832: | Line 31,832: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 31,896: | Line 31,896: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires @zptemp, and support for unofficial opcodes; and writes in stack | ||
Line 31,906: | Line 31,906: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | ||
Line 31,919: | Line 31,919: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 31,935: | Line 31,935: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|16 bytes | !colspan="2"|16 bytes | ||
Line 31,950: | Line 31,950: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 31,987: | Line 31,987: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 31,993: | Line 31,993: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 32,018: | Line 32,018: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4</pre>||Clobbers A, S, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>38 SEC | |<pre>38 SEC | ||
Line 32,045: | Line 32,045: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,052: | Line 32,052: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,099: | Line 32,099: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers S; requires support for unofficial opcodes; and writes in stack | ||
Line 32,121: | Line 32,121: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts14; and writes in stack | 28 PLP</pre>||Requires @rts14; and writes in stack | ||
Line 32,131: | Line 32,131: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 32,142: | Line 32,142: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; and writes in stack | 28 PLP</pre>||Clobbers S; and writes in stack | ||
Line 32,153: | Line 32,153: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 32,184: | Line 32,184: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|16 bytes | !colspan="2"|16 bytes | ||
Line 32,200: | Line 32,200: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 32,334: | Line 32,334: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15; and writes in stack | ||
|- | |- | ||
Line 32,350: | Line 32,350: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 32,367: | Line 32,367: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 32,375: | Line 32,375: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 32,433: | Line 32,433: | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 32,439: | Line 32,439: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 32,447: | Line 32,447: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @zptemp, and @rts15; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 32,458: | Line 32,458: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 32,464: | Line 32,464: | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 32,475: | Line 32,475: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 32,493: | Line 32,493: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 32,515: | Line 32,515: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires @rts15, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires @rts15, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,522: | Line 32,522: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts15, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @rts15, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,530: | Line 32,530: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,538: | Line 32,538: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,564: | Line 32,564: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler; and writes in stack | ||
Line 32,577: | Line 32,577: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
EA NOP | EA NOP | ||
B0 FB BCS *-3 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack | 28 PLP</pre>||Writes in stack | ||
Line 32,593: | Line 32,593: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 32,660: | Line 32,660: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
D0 FB BNE *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 32,682: | Line 32,682: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 32,689: | Line 32,689: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 32,697: | Line 32,697: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>A5 00 LDA $00 | |<pre>A5 00 LDA $00 | ||
Line 32,703: | Line 32,703: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4</pre>||Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>EA NOP | |<pre>EA NOP | ||
Line 32,716: | Line 32,716: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,723: | Line 32,723: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 32,731: | Line 32,731: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 32,746: | Line 32,746: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 F9 BNE *-5 | |||
28 PLP</pre>||Clobbers A; writes in stack; and not relocatable code | 28 PLP</pre>||Clobbers A; writes in stack; and not relocatable code | ||
|- | |- | ||
Line 32,762: | Line 32,762: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 F9 BNE *-5 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; writes in stack; and not relocatable code | 68 PLA</pre>||Clobbers Z&N, C, and V; writes in stack; and not relocatable code | ||
|- | |- | ||
Line 32,810: | Line 32,810: | ||
|<pre>EA NOP | |<pre>EA NOP | ||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 32,818: | Line 32,818: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 32,855: | Line 32,855: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
B0 FB BCS *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
!colspan="2"|7 bytes | !colspan="2"|7 bytes | ||
Line 32,874: | Line 32,874: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | |<pre>A9 E9 LDA #$E9 ;hides 'SBC #$0A' | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 32,973: | Line 32,973: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 33,042: | Line 33,042: | ||
48 PHA | 48 PHA | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 33,049: | Line 33,049: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 33,065: | Line 33,065: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 33,073: | Line 33,073: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 33,090: | Line 33,090: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 33,098: | Line 33,098: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 33,138: | Line 33,138: | ||
A9 69 LDA #$69 ;hides 'ADC #$38' | A9 69 LDA #$69 ;hides 'ADC #$38' | ||
38 SEC ;first loop only | 38 SEC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers S; requires dummy interrupt handler; and writes in stack | ||
Line 33,168: | Line 33,168: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 33,221: | Line 33,221: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
B0 FB BCS *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 33,253: | Line 33,253: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 33,265: | Line 33,265: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 33,348: | Line 33,348: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|15 bytes | !colspan="2"|15 bytes | ||
Line 33,364: | Line 33,364: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 33,422: | Line 33,422: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 33,429: | Line 33,429: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 33,496: | Line 33,496: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
Line 33,539: | Line 33,539: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C; and requires @zptemp | |||
|- | |- | ||
!colspan="2"|16 bytes | !colspan="2"|16 bytes | ||
Line 33,555: | Line 33,555: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 33,594: | Line 33,594: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
48 PHA | 48 PHA | ||
B0 FB BCS *-3</pre>||Clobbers A, S, Z&N, C, and V; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 33,617: | Line 33,617: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
B0 FA BCS *-4</pre>||Clobbers A, S, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 33,623: | Line 33,623: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
B0 FA BCS *-4</pre>||Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 33,646: | Line 33,646: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and requires @zptemp | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 33,676: | Line 33,676: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
B0 FA BCS *-4</pre>||Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 33,768: | Line 33,768: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, S, Z&N, and C | |||
|- | |- | ||
!colspan="2"|16 bytes | !colspan="2"|16 bytes | ||
Line 33,785: | Line 33,785: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F4 BNE *-10</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 33,873: | Line 33,873: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts14; and writes in stack | ||
|- | |- | ||
Line 33,880: | Line 33,880: | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts15; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and @rts15; and writes in stack | ||
|- | |- | ||
Line 33,888: | Line 33,888: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 33,895: | Line 33,895: | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 33,903: | Line 33,903: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6 | |||
68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 33,916: | Line 33,916: | ||
28 PLP | 28 PLP | ||
18 CLC | 18 CLC | ||
D0 F7 BNE *-7 | |||
68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | 68 PLA</pre>||Clobbers Z&N, and C; and writes in stack | ||
|- | |- | ||
Line 33,934: | Line 33,934: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @rts15, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires @rts15, and support for unofficial opcodes; and writes in stack | ||
Line 33,944: | Line 33,944: | ||
A9 EB LDA #$EB ;hides 'SBC #$18' | A9 EB LDA #$EB ;hides 'SBC #$18' | ||
18 CLC ;first loop only | 18 CLC ;first loop only | ||
D0 FC BNE *-2 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack | ||
Line 33,963: | Line 33,963: | ||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
D0 FD BNE *-1 | |||
A9 0A LDA #$0A ;hides 'ASL A' | A9 0A LDA #$0A ;hides 'ASL A' | ||
EA NOP | EA NOP | ||
Line 33,972: | Line 33,972: | ||
EA NOP | EA NOP | ||
18 CLC | 18 CLC | ||
D0 F6 BNE *-8</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 34,011: | Line 34,011: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
30 F9 BMI *-5</pre>||Clobbers A, Z&N, C, and V; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>48 PHA | |<pre>48 PHA | ||
Line 34,037: | Line 34,037: | ||
48 PHA | 48 PHA | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
D0 F9 BNE *-5</pre>||Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
!colspan="2"|9 bytes | !colspan="2"|9 bytes | ||
Line 34,059: | Line 34,059: | ||
28 PLP | 28 PLP | ||
20 xx xx JSR @rts12 | 20 xx xx JSR @rts12 | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @rts12; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 34,065: | Line 34,065: | ||
20 xx xx JSR @rts15 | 20 xx xx JSR @rts15 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires @rts15; and writes in stack | |||
|- | |- | ||
|<pre>A5 00 LDA $00 | |<pre>A5 00 LDA $00 | ||
Line 34,078: | Line 34,078: | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack | |||
|- | |- | ||
|<pre>A9 0A LDA #$0A ;hides 'ASL A' | |<pre>A9 0A LDA #$0A ;hides 'ASL A' | ||
Line 34,084: | Line 34,084: | ||
20 xx xx JSR @rts14 | 20 xx xx JSR @rts14 | ||
18 CLC | 18 CLC | ||
D0 F8 BNE *-6</pre>||Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack | |||
|- | |- | ||
|<pre>08 PHP | |<pre>08 PHP | ||
Line 34,100: | Line 34,100: | ||
76 00 ROR $00,X | 76 00 ROR $00,X | ||
28 PLP | 28 PLP | ||
D0 F7 BNE *-7</pre>||Clobbers A, Z&N, and C; and writes in stack | |||
|- | |- | ||
|<pre>68 PLA | |<pre>68 PLA | ||
Line 34,116: | Line 34,116: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A, and S; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 34,124: | Line 34,124: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 34,144: | Line 34,144: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires @zptemp; and writes in stack | 28 PLP</pre>||Requires @zptemp; and writes in stack | ||
Line 34,153: | Line 34,153: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | 28 PLP</pre>||Clobbers A; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 34,161: | Line 34,161: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
00 00 BRK 0 | 00 00 BRK 0 | ||
30 FA BMI *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack | ||
|- | |- | ||
Line 34,187: | Line 34,187: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
D0 FA BNE *-4 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Requires support for unofficial opcodes; and writes in stack | ||
Line 34,198: | Line 34,198: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
4C xx xx JMP *+3 | 4C xx xx JMP *+3 | ||
D0 F9 BNE *-5 | |||
68 PLA | 68 PLA | ||
28 PLP</pre>||Writes in stack; and not relocatable code | 28 PLP</pre>||Writes in stack; and not relocatable code | ||
Line 34,248: | Line 34,248: | ||
90 00 BCC *+2 | 90 00 BCC *+2 | ||
18 CLC | 18 CLC | ||
D0 F3 BNE *-11</pre>||Clobbers A, Z&N, and C | |||
|- | |- | ||
|} | |} | ||
Line 34,333: | Line 34,333: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
B0 FA BCS *-4 | |||
28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | 28 PLP</pre>||Clobbers A; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 34,340: | Line 34,340: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
85 xx STA @zptemp | 85 xx STA @zptemp | ||
B0 FA BCS *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires @zptemp; and writes in stack | ||
|- | |- | ||
Line 34,359: | Line 34,359: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
B0 FA BCS *-4 | |||
28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | 28 PLP</pre>||Clobbers A; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 34,380: | Line 34,380: | ||
0A ASL A ;first loop only | 0A ASL A ;first loop only | ||
04 00 NOP $00 | 04 00 NOP $00 | ||
B0 FA BCS *-4 | |||
68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | 68 PLA</pre>||Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack | ||
|- | |- | ||
Line 34,411: | Line 34,411: | ||
CA DEX | CA DEX | ||
D0 FB BNE *-3 | D0 FB BNE *-3 | ||
38 SEC | |||
90 F7 BCC *-7</pre>||Clobbers A, X, Z&N, and C | 90 F7 BCC *-7</pre>||Clobbers A, X, Z&N, and C | ||
|- | |- | ||
Line 34,418: | Line 34,418: | ||
88 DEY | 88 DEY | ||
D0 FB BNE *-3 | D0 FB BNE *-3 | ||
38 SEC | |||
90 F7 BCC *-7</pre>||Clobbers A, Y, Z&N, and C | 90 F7 BCC *-7</pre>||Clobbers A, Y, Z&N, and C | ||
|- | |- |
Revision as of 09:06, 15 March 2016
Delay code
Shortest possible CPU code that creates N cycles of delay, depending on constraints.
All code samples are written for CA65.
Assumptions:
- No page wrap occurs during any branch instruction. If a page wrap occurs, it adds +1 cycle for each loop, completely thwarting the accurate delay.
- No interrupt / NMI occurs during the delay code. This is important for accurate delay, but it is also required for correctness in those code samples where a PLA-PHA sequence is used.
It is possible to verify on compile time that no page wrap occurs, by replacing all branches with these macros:
.macro branch_check opc, dest opc dest .assert >* = >dest, warning, "branch_check: failed, crosses page" .endmacro .macro Jcc dest branch_check bcc, dest .endmacro .macro Jcs dest branch_check bcs, dest .endmacro .macro Jeq dest branch_check beq, dest .endmacro .macro Jne dest branch_check bne, dest .endmacro .macro Jmi dest branch_check bmi, dest .endmacro .macro Jpl dest branch_check bpl, dest .endmacro .macro Jvc dest branch_check bvc, dest .endmacro .macro Jvs dest branch_check bvs, dest .endmacro
It is permissible for DMA to steal cycles during the loops. If you are expecting that to happen, you have to manually adjust the delay cycle count (and it is in fact possible to do so) in order to get the correct delay.
Explanations on the requirements:
- @zptemp means you have a zeropage address that you can write random data into.
- @rti means you have a dummy interrupt handler installed that does nothing but
RTI
. - @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, it means you know a memory address that contains a harmless 3-cycle instruction that fits your constraints (such asLDA $00
), followed byRTS
. - delay_a_25_clocks, delay_256a_16_clocks, delay_256a_x_33_clocks, delay_256a_x_31_clocks, and delay_256x_a_30_clocks are defined at Delay code.
{{#css:
.testtable td{padding:2px} .testtable td pre{padding:2px;margin:2px}
}}
2 cycles
1 bytes | |
---|---|
EA NOP |
No requirements |
- All instructions cost at least 2 cycles. There is no way to do 1 cycle of delay (though −1 cycles may sometimes appear in branch cost calculations).
3 cycles
1 bytes | |
---|---|
48 PHA |
Clobbers S; and writes in stack |
2 bytes | |
A5 00 LDA $00 |
Clobbers A, and Z&N |
A4 00 LDY $00 |
Clobbers Y, and Z&N |
A6 00 LDX $00 |
Clobbers X, and Z&N |
C5 00 CMP $00 |
Clobbers Z&N, and C |
24 00 BIT $00 |
Clobbers Z&N, and V |
85 xx STA @zptemp |
Requires @zptemp |
04 00 NOP $00 |
Requires support for unofficial opcodes |
3 bytes | |
4C xx xx JMP *+3 |
Not relocatable code |
- Not relocatable means that the target address is hardcoded into the code. In ROM hacking, it sometimes makes sense to move code blobs around, and a hardcoded address makes it difficult to relocate the code. This restriction does not apply to branches, which use relative addressing. It is also assumed to not apply to
JSR
instructions, as chances are the JSR target is outside the code being relocated.
4 cycles
1 bytes | |
---|---|
68 PLA |
Clobbers A, S, and Z&N |
2 bytes | |
EA NOP EA NOP |
No requirements |
- zp-indexed modes such as
LDA $00,X
also do 4 cycles, but having side effects, these two-byte instructions are inferior to a simple 2 ×NOP
. - There is also an unofficial opcode
NOP $00,X
(34 00), but there is no reason to use this instruction when the official equivalent has the same performance.
5 cycles
2 bytes | |
---|---|
E6 xx INC @zptemp |
Clobbers Z&N; and requires @zptemp |
EA NOP 48 PHA |
Clobbers S; and writes in stack |
3 bytes | |
EA NOP A5 00 LDA $00 |
Clobbers A, and Z&N |
EA NOP A6 00 LDX $00 |
Clobbers X, and Z&N |
EA NOP A4 00 LDY $00 |
Clobbers Y, and Z&N |
18 CLC 90 00 BCC *+2 |
Clobbers C |
B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
4 bytes | |
EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
- abs-indexed modes such as
LDA $1234,X
cause 4 or 5 cycles of delay, depending whether a page wrap occurred. Because you need extra setup code to make sure that a wrap does occur, you do not see this mode in these samples, outside situations where circumstances permit.
6 cycles
2 bytes | |
---|---|
48 PHA 48 PHA |
Clobbers S; and writes in stack |
EA NOP 68 PLA |
Clobbers A, S, and Z&N |
3 bytes | |
EA NOP EA NOP EA NOP |
No requirements |
- zp-indexed RMW instructions such as
INC @zptemp,X
do 6 cycles, but as the memory address modified depends on the value of X, and in this document it is a bit difficult to formalize the rules under which you can write to such addresses, thus the instruction is not used. - ix and iy instructions such as
LDA ($00,X)
orLDA ($00),Y
do 6 cycles, but there may be side effects for reading from random memory addresses (such as $2002), and therefore we do not do that. With ind-y there is also the trouble of predicting whether a wrap occurs or not. - Absolute RMW instructions like
INC $2000
do 6 cycles, but weighing 3 bytes with side-effects it would be inferior to 3 ×NOP
.
7 cycles
2 bytes | |
---|---|
08 PHP 28 PLP |
Writes in stack |
68 PLA 48 PHA |
Clobbers A, and Z&N |
3 bytes | |
EA NOP E6 xx INC @zptemp |
Clobbers Z&N; and requires @zptemp |
4 bytes | |
EA NOP EA NOP A4 00 LDY $00 |
Clobbers Y, and Z&N |
EA NOP EA NOP A6 00 LDX $00 |
Clobbers X, and Z&N |
EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
5 bytes | |
EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
PHP-PLP
is very efficient for 7 cycles of delay, but it does modify stack contents. S register remains unchanged though.PLA-PHA
does not overwrite any bytes in stack. It just writes back the same byte. But it does clobber A and Z+N.- abs-indexed RMW instructions such as
INC abs,X
do 7 cycles, but it is difficult to formalize the rules under which one could write to such random addresses.
8 cycles
2 bytes | |
---|---|
68 PLA 68 PLA |
Clobbers A, S, and Z&N |
3 bytes | |
BA TSX 68 PLA 9A TXS |
Clobbers A, X, and Z&N |
EA NOP 48 PHA 48 PHA |
Clobbers S; and writes in stack |
4 bytes | |
EA NOP EA NOP EA NOP EA NOP |
No requirements |
- ix and iy RMW instructions such as
SLO ($00,X)
orSLO ($00),Y
would do 8 cycles for 2 bytes of code, but it is dangerous to read random memory addresses, let alone write to them, so we do not do that. These instructions are also unofficial.
9 cycles
3 bytes | |
---|---|
EA NOP 08 PHP 28 PLP |
Writes in stack |
EA NOP 68 PLA 48 PHA |
Clobbers A, and Z&N |
4 bytes | |
A2 AE LDX #$AE ;hides 'LDX $FDD0' D0 FD BNE *-1 |
Clobbers X, and Z&N |
A0 AC LDY #$AC ;hides 'LDY $FDD0' D0 FD BNE *-1 |
Clobbers Y, and Z&N |
EA NOP EA NOP E6 xx INC @zptemp |
Clobbers Z&N; and requires @zptemp |
5 bytes | |
EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
6 bytes | |
EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
- Jumping into the middle of another instruction is a very efficient way of reducing code size. Note that all code samples using branches on this page require that no page wrap occurs.
10 cycles
3 bytes | |
---|---|
48 PHA 08 PHP 28 PLP |
Clobbers S; and writes in stack |
EA NOP 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
4 bytes | |
08 PHP 24 00 BIT $00 28 PLP |
Writes in stack |
26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N |
5 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
- Note that the
ROL-ROR
sequence preserves the original value of the memory address. Carry is also preserved.
11 cycles
3 bytes | |
---|---|
68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
4 bytes | |
EA NOP EA NOP 08 PHP 28 PLP |
Writes in stack |
EA NOP EA NOP 68 PLA 48 PHA |
Clobbers A, and Z&N |
5 bytes | |
A2 02 LDX #2 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 02 LDY #2 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP EA NOP E6 xx INC @zptemp |
Clobbers Z&N; and requires @zptemp |
6 bytes | |
EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
7 bytes | |
EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
12 cycles
3 bytes | |
---|---|
20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
4 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
08 PHP E6 xx INC @zptemp 28 PLP |
Requires @zptemp; and writes in stack |
EA NOP 48 PHA 08 PHP 28 PLP |
Clobbers S; and writes in stack |
5 bytes | |
08 PHP 18 CLC 90 00 BCC *+2 28 PLP |
Writes in stack |
6 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
JSR-RTS
causes 12 cycles of delay. But it does write a function return address in the stack, which may be unwanted in some applications. S is not modified.- Again,
ROL-ROR
does not have side effects (as long as an interrupt does not happen in the middle), except for Z+N.
13 cycles
2 bytes | |
---|---|
00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
4 bytes | |
48 PHA 48 PHA 08 PHP 28 PLP |
Clobbers S; and writes in stack |
EA NOP 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
5 bytes | |
EA NOP EA NOP EA NOP 08 PHP 28 PLP |
Writes in stack |
EA NOP EA NOP EA NOP 68 PLA 48 PHA |
Clobbers A, and Z&N |
6 bytes | |
A6 00 LDX $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers X, and Z&N |
A4 00 LDY $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Y, and Z&N |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N, and V |
85 xx STA @zptemp 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N; and requires support for unofficial opcodes |
7 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N; and not relocatable code |
EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
8 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
14 cycles
3 bytes | |
---|---|
20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
4 bytes | |
08 PHP 28 PLP 08 PHP 28 PLP |
Writes in stack |
68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
5 bytes | |
EA NOP 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
7 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
15 cycles
3 bytes | |
---|---|
20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
4 bytes | |
48 PHA 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
5 bytes | |
A5 00 LDA $00 20 xx xx JSR @rts12 |
Clobbers A, and Z&N; requires @rts12; and writes in stack |
48 PHA BA TSX 68 PLA 9A TXS 68 PLA |
Clobbers X, and Z&N; and writes in stack |
A4 00 LDY $00 20 xx xx JSR @rts12 |
Clobbers Y, and Z&N; requires @rts12; and writes in stack |
08 PHP BA TSX 68 PLA 9A TXS 28 PLP |
Clobbers A, and X; and writes in stack |
68 PLA 48 PHA BA TSX 68 PLA 9A TXS |
Clobbers A, X, and Z&N |
C5 00 CMP $00 20 xx xx JSR @rts12 |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
24 00 BIT $00 20 xx xx JSR @rts12 |
Clobbers Z&N, and V; requires @rts12; and writes in stack |
85 xx STA @zptemp 20 xx xx JSR @rts12 |
Requires @zptemp, and @rts12; and writes in stack |
EA NOP 48 PHA 48 PHA 08 PHP 28 PLP |
Clobbers S; and writes in stack |
04 00 NOP $00 20 xx xx JSR @rts12 |
Requires @rts12, and support for unofficial opcodes; and writes in stack |
6 bytes | |
EA NOP EA NOP EA NOP EA NOP 08 PHP 28 PLP |
Writes in stack |
A5 00 LDA $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
A6 00 LDX $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers X, and Z&N |
A4 00 LDY $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Y, and Z&N |
C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
7 bytes | |
4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
8 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
9 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
16 cycles
3 bytes | |
---|---|
48 PHA 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
4 bytes | |
EA NOP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
A5 00 LDA $00 00 00 BRK 0 |
Clobbers A, and Z&N; requires dummy interrupt handler; and writes in stack |
A4 00 LDY $00 00 00 BRK 0 |
Clobbers Y, and Z&N; requires dummy interrupt handler; and writes in stack |
A6 00 LDX $00 00 00 BRK 0 |
Clobbers X, and Z&N; requires dummy interrupt handler; and writes in stack |
C5 00 CMP $00 00 00 BRK 0 |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
24 00 BIT $00 00 00 BRK 0 |
Clobbers Z&N, and V; requires dummy interrupt handler; and writes in stack |
85 xx STA @zptemp 00 00 BRK 0 |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
04 00 NOP $00 00 00 BRK 0 |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
5 bytes | |
EA NOP 08 PHP 28 PLP 08 PHP 28 PLP |
Writes in stack |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
A2 03 LDX #3 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 03 LDY #3 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
6 bytes | |
EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
8 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
17 cycles
3 bytes | |
---|---|
68 PLA 00 00 BRK 0 |
Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack |
4 bytes | |
EA NOP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP EA NOP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
5 bytes | |
A5 00 LDA $00 20 xx xx JSR @rts14 |
Clobbers A, and Z&N; requires @rts14; and writes in stack |
A6 00 LDX $00 20 xx xx JSR @rts14 |
Clobbers X, and Z&N; requires @rts14; and writes in stack |
A4 00 LDY $00 20 xx xx JSR @rts14 |
Clobbers Y, and Z&N; requires @rts14; and writes in stack |
C5 00 CMP $00 20 xx xx JSR @rts14 |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
24 00 BIT $00 20 xx xx JSR @rts14 |
Clobbers Z&N, and V; requires @rts14; and writes in stack |
E6 xx INC @zptemp 20 xx xx JSR @rts12 |
Clobbers Z&N; requires @zptemp, and @rts12; and writes in stack |
85 xx STA @zptemp 20 xx xx JSR @rts14 |
Requires @zptemp, and @rts14; and writes in stack |
48 PHA 08 PHP 28 PLP 08 PHP 28 PLP |
Clobbers S; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
04 00 NOP $00 20 xx xx JSR @rts14 |
Requires @rts14, and support for unofficial opcodes; and writes in stack |
6 bytes | |
08 PHP 26 00 ROL $00 66 00 ROR $00 28 PLP |
Writes in stack |
68 PLA 48 PHA 26 00 ROL $00 66 00 ROR $00 |
Clobbers A, and Z&N |
E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
7 bytes | |
EA NOP A4 00 LDY $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Y, and Z&N |
EA NOP A6 00 LDX $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers X, and Z&N |
EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
8 bytes | |
EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
9 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
10 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
18 cycles
4 bytes | |
---|---|
E6 xx INC @zptemp 00 00 BRK 0 |
Clobbers Z&N; requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
68 PLA 20 xx xx JSR @rts14 |
Clobbers A, S, and Z&N; requires @rts14; and writes in stack |
EA NOP 48 PHA 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
5 bytes | |
A5 00 LDA $00 20 xx xx JSR @rts15 |
Clobbers A, and Z&N; requires @rts15; and writes in stack |
A4 00 LDY $00 20 xx xx JSR @rts15 |
Clobbers Y, and Z&N; requires @rts15; and writes in stack |
A6 00 LDX $00 20 xx xx JSR @rts15 |
Clobbers X, and Z&N; requires @rts15; and writes in stack |
C5 00 CMP $00 20 xx xx JSR @rts15 |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
24 00 BIT $00 20 xx xx JSR @rts15 |
Clobbers Z&N, and V; requires @rts15; and writes in stack |
EA NOP EA NOP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
85 xx STA @zptemp 20 xx xx JSR @rts15 |
Requires @zptemp, and @rts15; and writes in stack |
EA NOP A5 00 LDA $00 00 00 BRK 0 |
Clobbers A, and Z&N; requires dummy interrupt handler; and writes in stack |
EA NOP A6 00 LDX $00 00 00 BRK 0 |
Clobbers X, and Z&N; requires dummy interrupt handler; and writes in stack |
EA NOP A4 00 LDY $00 00 00 BRK 0 |
Clobbers Y, and Z&N; requires dummy interrupt handler; and writes in stack |
18 CLC 90 00 BCC *+2 00 00 BRK 0 |
Clobbers C; requires dummy interrupt handler; and writes in stack |
B8 CLV 50 00 BVC *+2 00 00 BRK 0 |
Clobbers V; requires dummy interrupt handler; and writes in stack |
EA NOP 85 xx STA @zptemp 00 00 BRK 0 |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
04 00 NOP $00 20 xx xx JSR @rts15 |
Requires @rts15, and support for unofficial opcodes; and writes in stack |
EA NOP 04 00 NOP $00 00 00 BRK 0 |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
A9 LDA #0 20 xx xx JSR delay_256a_16_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks, and delay_256a_16_clocks |
6 bytes | |
EA NOP EA NOP 08 PHP 28 PLP 08 PHP 28 PLP |
Writes in stack |
EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
EA NOP A0 03 LDY #3 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 03 LDX #3 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
EA NOP EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
9 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
19 cycles
4 bytes | |
---|---|
68 PLA 20 xx xx JSR @rts15 |
Clobbers A, S, and Z&N; requires @rts15; and writes in stack |
48 PHA 48 PHA 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
5 bytes | |
08 PHP 28 PLP 20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
EA NOP EA NOP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP EA NOP EA NOP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
E6 xx INC @zptemp 20 xx xx JSR @rts14 |
Clobbers Z&N; requires @zptemp, and @rts14; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
EA NOP 48 PHA 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
6 bytes | |
08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Writes in stack |
68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
7 bytes | |
A4 00 LDY $00 A0 03 LDY #3 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 03 LDX #3 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
8 bytes | |
EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
9 bytes | |
EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
10 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
11 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
20 cycles
4 bytes | |
---|---|
08 PHP 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
5 bytes | |
A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C |
E6 xx INC @zptemp 20 xx xx JSR @rts15 |
Clobbers Z&N; requires @zptemp, and @rts15; and writes in stack |
EA NOP 48 PHA 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
48 PHA 48 PHA 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
6 bytes | |
EA NOP A5 00 LDA $00 20 xx xx JSR @rts15 |
Clobbers A, and Z&N; requires @rts15; and writes in stack |
EA NOP A6 00 LDX $00 20 xx xx JSR @rts15 |
Clobbers X, and Z&N; requires @rts15; and writes in stack |
EA NOP A4 00 LDY $00 20 xx xx JSR @rts15 |
Clobbers Y, and Z&N; requires @rts15; and writes in stack |
BA TSX 68 PLA 68 PLA 68 PLA 68 PLA 9A TXS |
Clobbers A, X, and Z&N |
18 CLC 90 00 BCC *+2 20 xx xx JSR @rts15 |
Clobbers C; requires @rts15; and writes in stack |
B8 CLV 50 00 BVC *+2 20 xx xx JSR @rts15 |
Clobbers V; requires @rts15; and writes in stack |
EA NOP EA NOP EA NOP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
EA NOP 85 xx STA @zptemp 20 xx xx JSR @rts15 |
Requires @zptemp, and @rts15; and writes in stack |
48 PHA 48 PHA 08 PHP 28 PLP 08 PHP 28 PLP |
Clobbers S; and writes in stack |
EA NOP 04 00 NOP $00 20 xx xx JSR @rts15 |
Requires @rts15, and support for unofficial opcodes; and writes in stack |
7 bytes | |
EA NOP EA NOP EA NOP 08 PHP 28 PLP 08 PHP 28 PLP |
Writes in stack |
EA NOP EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
EA NOP EA NOP A2 03 LDX #3 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 03 LDY #3 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
8 bytes | |
26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N |
10 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
21 cycles
4 bytes | |
---|---|
68 PLA 68 PLA 00 00 BRK 0 |
Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack |
5 bytes | |
A2 04 LDX #4 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 04 LDY #4 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 |
Clobbers A, Z&N, C, V, and D |
08 PHP 28 PLP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
48 PHA 48 PHA 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
A9 69 LDA #$69 ;hides 'ADC #$08' 08 PHP ;first loop only 10 FC BPL *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
EA NOP 48 PHA 48 PHA 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$EA' EA NOP ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
6 bytes | |
08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Writes in stack |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
8 bytes | |
EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
9 bytes | |
EA NOP EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
10 bytes | |
EA NOP EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
11 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
12 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
22 cycles
5 bytes | |
---|---|
08 PHP 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP 08 PHP 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA 20 xx xx JSR @rts14 |
Clobbers A, S, and Z&N; requires @rts14; and writes in stack |
6 bytes | |
A0 03 LDY #3 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 03 LDX #3 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
EA NOP 48 PHA 48 PHA 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
7 bytes | |
08 PHP 24 00 BIT $00 28 PLP 20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
08 PHP 48 PHA BA TSX 68 PLA 9A TXS 68 PLA 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP EA NOP EA NOP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
48 PHA 08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Clobbers S; and writes in stack |
8 bytes | |
08 PHP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Writes in stack |
26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
11 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
23 cycles
5 bytes | |
---|---|
68 PLA 68 PLA 20 xx xx JSR @rts15 |
Clobbers A, S, and Z&N; requires @rts15; and writes in stack |
A9 2A LDA #$2A ;hides 'ROL A' 48 PHA 10 FC BPL *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
48 PHA 08 PHP 28 PLP 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
6 bytes | |
EA NOP A0 04 LDY #4 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 04 LDX #4 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 |
Clobbers A, Z&N, C, V, and D |
EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
A9 2A LDA #$2A ;hides 'ROL A' 85 xx STA @zptemp 10 FB BPL *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
08 PHP 24 00 BIT $00 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 48 PHA 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
A9 2A LDA #$2A ;hides 'ROL A' 04 00 NOP $00 10 FB BPL *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
7 bytes | |
EA NOP 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Writes in stack |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
9 bytes | |
EA NOP EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
10 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N, and V |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N; and requires support for unofficial opcodes |
11 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N; and not relocatable code |
12 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
13 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
24 cycles
4 bytes | |
---|---|
A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
5 bytes | |
48 PHA 68 PLA 68 PLA 00 00 BRK 0 |
Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack |
6 bytes | |
20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP EA NOP 08 PHP 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
48 PHA A0 04 LDY #4 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 04 LDX #4 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 04 LDX #4 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 04 LDY #4 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP 24 00 BIT $00 28 PLP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
48 PHA 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Clobbers S; and writes in stack |
8 bytes | |
08 PHP 28 PLP 08 PHP 26 00 ROL $00 66 00 ROR $00 28 PLP |
Writes in stack |
36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
12 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
25 cycles
5 bytes | |
---|---|
20 xx xx JSR @rts12 00 00 BRK 0 |
Requires dummy interrupt handler, and @rts12; and writes in stack |
68 PLA 68 PLA 68 PLA 00 00 BRK 0 |
Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack |
6 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X 00 00 BRK 0 |
Clobbers Z&N; requires dummy interrupt handler; and writes in stack |
08 PHP E6 xx INC @zptemp 28 PLP 00 00 BRK 0 |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
A0 03 LDY #3 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 03 LDX #3 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
68 PLA A2 04 LDX #4 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 04 LDY #4 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP A9 2A LDA #$2A ;hides 'ROL A' 48 PHA 10 FC BPL *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
68 PLA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 |
Clobbers A, S, Z&N, C, V, and D |
48 PHA 68 PLA 68 PLA 20 xx xx JSR @rts14 |
Clobbers A, S, and Z&N; requires @rts14; and writes in stack |
EA NOP 48 PHA 08 PHP 28 PLP 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
68 PLA A9 4B LDA #$4B ;hides 'ASR #$EA' EA NOP ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes |
7 bytes | |
08 PHP 24 00 BIT $00 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 08 PHP 28 PLP 10 FA BPL *-4 |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP A0 04 LDY #4 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 04 LDX #4 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 |
Clobbers A, Z&N, C, V, and D |
EA NOP EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
EA NOP A9 2A LDA #$2A ;hides 'ROL A' 85 xx STA @zptemp 10 FB BPL *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP 08 PHP 24 00 BIT $00 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
EA NOP A9 2A LDA #$2A ;hides 'ROL A' 04 00 NOP $00 10 FB BPL *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP A9 LDA #0 20 xx xx JSR delay_256a_16_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks, and delay_256a_16_clocks; and writes in stack |
48 PHA A9 LDA #0 20 xx xx JSR delay_256a_16_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks, and delay_256a_16_clocks; and writes in stack |
68 PLA 48 PHA A9 LDA #0 20 xx xx JSR delay_256a_16_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks, and delay_256a_16_clocks |
8 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Writes in stack |
EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
10 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
11 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
13 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
14 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
26 cycles
4 bytes | |
---|---|
00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
5 bytes | |
A2 05 LDX #5 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 05 LDY #5 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
6 bytes | |
20 xx xx JSR @rts12 20 xx xx JSR @rts14 |
Requires @rts12, and @rts14; and writes in stack |
48 PHA 68 PLA 68 PLA 20 xx xx JSR @rts15 |
Clobbers A, S, and Z&N; requires @rts15; and writes in stack |
68 PLA 68 PLA 68 PLA 20 xx xx JSR @rts14 |
Clobbers A, S, and Z&N; requires @rts14; and writes in stack |
7 bytes | |
EA NOP 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
EA NOP EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
36 00 ROL $00,X 76 00 ROR $00,X 20 xx xx JSR @rts14 |
Clobbers Z&N; requires @rts14; and writes in stack |
08 PHP E6 xx INC @zptemp 28 PLP 20 xx xx JSR @rts14 |
Requires @zptemp, and @rts14; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
EA NOP 48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
8 bytes | |
08 PHP 28 PLP 08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Writes in stack |
68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
9 bytes | |
EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
13 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
27 cycles
5 bytes | |
---|---|
00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 LDA #0 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
20 xx xx JSR @rts12 20 xx xx JSR @rts15 |
Requires @rts12, and @rts15; and writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
08 PHP 28 PLP 08 PHP 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA 68 PLA 20 xx xx JSR @rts15 |
Clobbers A, S, and Z&N; requires @rts15; and writes in stack |
7 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X 20 xx xx JSR @rts15 |
Clobbers Z&N; requires @rts15; and writes in stack |
08 PHP A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers Z&N, and C; and writes in stack |
08 PHP E6 xx INC @zptemp 28 PLP 20 xx xx JSR @rts15 |
Requires @zptemp, and @rts15; and writes in stack |
48 PHA 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
EA NOP 48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
EA NOP A0 03 LDY #3 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
EA NOP A2 03 LDX #3 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA 48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
A0 82 LDY #130 ;hides 'NOP #imm' 04 EA NOP $EA ;hides 'NOP' 88 DEY 30 FA BMI *-4 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
A2 82 LDX #130 ;hides 'NOP #imm' 04 EA NOP $EA ;hides 'NOP' CA DEX 30 FA BMI *-4 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
EA NOP 08 PHP 24 00 BIT $00 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP EA NOP EA NOP A0 04 LDY #4 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP EA NOP A2 04 LDX #4 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
24 00 BIT $00 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Clobbers Z&N, and V; requires @rts12; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
85 xx STA @zptemp 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Requires @zptemp, and @rts12; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Clobbers S; and writes in stack |
04 00 NOP $00 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Requires @rts12, and support for unofficial opcodes; and writes in stack |
9 bytes | |
EA NOP EA NOP EA NOP 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Writes in stack |
EA NOP EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
10 bytes | |
C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
11 bytes | |
4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
14 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
15 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
28 cycles
5 bytes | |
---|---|
EA NOP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, S, Z&N, and C |
A9 LDA #1 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 05 LDY #5 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 05 LDX #5 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
7 bytes | |
08 PHP A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 04 LDX #4 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 04 LDY #4 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 68 PLA |
Clobbers Z&N, C, V, and D; and writes in stack |
48 PHA 48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$EA' EA NOP ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
8 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Writes in stack |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
10 bytes | |
EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
14 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
29 cycles
5 bytes | |
---|---|
48 PHA 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
A9 LDA #2 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 04 LDX #4 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 04 LDY #4 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only EA NOP 10 FB BPL *-3 |
Clobbers A, Z&N, C, V, and D |
20 xx xx JSR @rts14 20 xx xx JSR @rts15 |
Requires @rts14, and @rts15; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C; and requires @zptemp |
A5 00 LDA $00 00 00 BRK 0 00 00 BRK 0 |
Clobbers A, and Z&N; requires dummy interrupt handler; and writes in stack |
C5 00 CMP $00 00 00 BRK 0 00 00 BRK 0 |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
24 00 BIT $00 00 00 BRK 0 00 00 BRK 0 |
Clobbers Z&N, and V; requires dummy interrupt handler; and writes in stack |
EA NOP 00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
85 xx STA @zptemp 00 00 BRK 0 00 00 BRK 0 |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
A9 2A LDA #$2A ;hides 'ROL A' 48 PHA 18 CLC 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$EA' EA NOP ;first loop only EA NOP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
04 00 NOP $00 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
7 bytes | |
08 PHP 28 PLP 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 20 xx xx JSR @rts12 20 xx xx JSR @rts14 |
Clobbers S; requires @rts12, and @rts14; and writes in stack |
48 PHA 68 PLA 68 PLA 68 PLA 20 xx xx JSR @rts14 |
Clobbers A, S, and Z&N; requires @rts14; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 03 LDY #3 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 03 LDX #3 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers Z&N, and C; and writes in stack |
24 00 BIT $00 20 xx xx JSR @rts12 20 xx xx JSR @rts14 |
Clobbers Z&N, and V; requires @rts12, and @rts14; and writes in stack |
E6 xx INC @zptemp 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Clobbers Z&N; requires @zptemp, and @rts12; and writes in stack |
85 xx STA @zptemp 20 xx xx JSR @rts12 20 xx xx JSR @rts14 |
Requires @zptemp, @rts12, and @rts14; and writes in stack |
EA NOP 48 PHA 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
EA NOP 48 PHA 48 PHA 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
04 00 NOP $00 20 xx xx JSR @rts12 20 xx xx JSR @rts14 |
Requires @rts12, @rts14, and support for unofficial opcodes; and writes in stack |
9 bytes | |
20 xx xx JSR @rts12 08 PHP 26 00 ROL $00 66 00 ROR $00 28 PLP |
Requires @rts12; and writes in stack |
EA NOP EA NOP EA NOP EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
48 PHA 08 PHP 28 PLP 08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Clobbers S; and writes in stack |
10 bytes | |
08 PHP 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Writes in stack |
68 PLA 48 PHA 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
11 bytes | |
EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
12 bytes | |
EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
15 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
16 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
30 cycles
5 bytes | |
---|---|
68 PLA 00 00 BRK 0 00 00 BRK 0 |
Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack |
A9 LDA #3 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP EA NOP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
68 PLA A0 05 LDY #5 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 05 LDX #5 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, S, Z&N, and C |
7 bytes | |
EA NOP EA NOP A2 05 LDX #5 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 05 LDY #5 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
EA NOP 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A0 04 LDY #4 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 04 LDX #4 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 68 PLA |
Clobbers Z&N, C, V, and D; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 85 xx STA @zptemp 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
48 PHA 48 PHA 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
48 PHA 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 04 00 NOP $00 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
EA NOP 08 PHP 28 PLP 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Writes in stack |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
11 bytes | |
EA NOP EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
15 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
31 cycles
5 bytes | |
---|---|
A0 06 LDY #6 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 06 LDX #6 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 |
Clobbers A, Z&N, C, and V |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
6 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
E6 xx INC @zptemp 00 00 BRK 0 00 00 BRK 0 |
Clobbers Z&N; requires @zptemp, and dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
7 bytes | |
EA NOP 20 xx xx JSR @rts14 20 xx xx JSR @rts15 |
Requires @rts14, and @rts15; and writes in stack |
18 CLC 90 00 BCC *+2 00 00 BRK 0 00 00 BRK 0 |
Clobbers C; requires dummy interrupt handler; and writes in stack |
B8 CLV 50 00 BVC *+2 00 00 BRK 0 00 00 BRK 0 |
Clobbers V; requires dummy interrupt handler; and writes in stack |
EA NOP EA NOP 00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
EA NOP 85 xx STA @zptemp 00 00 BRK 0 00 00 BRK 0 |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
EA NOP 04 00 NOP $00 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
8 bytes | |
08 PHP 28 PLP 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
24 00 BIT $00 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Clobbers Z&N, and V; requires @rts14; and writes in stack |
85 xx STA @zptemp 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @zptemp, and @rts14; and writes in stack |
EA NOP EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
48 PHA 08 PHP A0 04 LDY #4 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 04 LDX #4 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
04 00 NOP $00 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14, and support for unofficial opcodes; and writes in stack |
9 bytes | |
08 PHP A4 00 LDY $00 A0 04 LDY #4 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A6 00 LDX $00 A2 04 LDX #4 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
20 xx xx JSR @rts14 08 PHP 26 00 ROL $00 66 00 ROR $00 28 PLP |
Requires @rts14; and writes in stack |
48 PHA 08 PHP 28 PLP 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Clobbers S; and writes in stack |
10 bytes | |
08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Writes in stack |
68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
11 bytes | |
EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
12 bytes | |
EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
13 bytes | |
EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
16 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
17 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
32 cycles
5 bytes | |
---|---|
A9 LDA #5 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 05 LDY #5 ;hides 'ORA zp' 88 DEY ;first loop only 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, and Z&N |
A2 05 LDX #5 ;hides 'ORA zp' CA DEX ;first loop only CA DEX D0 FB BNE *-3 |
Clobbers A, X, and Z&N |
68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, S, Z&N, and C |
48 PHA 48 PHA 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
7 bytes | |
EA NOP 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
A9 2A LDA #$2A ;hides 'ROL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C |
EA NOP EA NOP EA NOP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA A2 04 LDX #4 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 04 LDY #4 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
68 PLA 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Clobbers A, S, and Z&N; requires @rts14; and writes in stack |
A0 FA LDY #250 ;hides 'NOP' EA NOP C8 INY C8 INY D0 FA BNE *-4 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
A2 FA LDX #250 ;hides 'NOP' EA NOP E8 INX E8 INX D0 FA BNE *-4 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
8 bytes | |
A4 00 LDY $00 A0 04 LDY #4 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 04 LDX #4 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
9 bytes | |
48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 08 PHP 28 PLP 10 FA BPL *-4 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 08 PHP 28 PLP 10 FA BPL *-4 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 03 LDX #3 24 00 BIT $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 03 LDY #3 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 48 PHA 48 PHA 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
08 PHP 48 PHA A9 LDA #0 20 xx xx JSR delay_256a_16_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks, and delay_256a_16_clocks; and writes in stack |
10 bytes | |
EA NOP EA NOP 08 PHP 28 PLP 08 PHP 48 PHA 68 PLA 48 PHA 68 PLA 28 PLP |
Writes in stack |
EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
12 bytes | |
26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
16 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
33 cycles
5 bytes | |
---|---|
A9 LDA #6 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 06 LDY #6 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 06 LDX #6 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 |
Clobbers A, Z&N, C, and V |
08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
EA NOP A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
7 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 05 LDY #5 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 05 LDX #5 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C |
48 PHA 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
8 bytes | |
24 00 BIT $00 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Clobbers Z&N, and V; requires @rts15; and writes in stack |
08 PHP 28 PLP 20 xx xx JSR @rts12 20 xx xx JSR @rts14 |
Requires @rts12, and @rts14; and writes in stack |
EA NOP EA NOP 20 xx xx JSR @rts14 20 xx xx JSR @rts15 |
Requires @rts14, and @rts15; and writes in stack |
85 xx STA @zptemp 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @zptemp, and @rts15; and writes in stack |
E6 xx INC @zptemp 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Clobbers Z&N; requires @zptemp, and @rts14; and writes in stack |
EA NOP 48 PHA 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
04 00 NOP $00 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15, and support for unofficial opcodes; and writes in stack |
9 bytes | |
EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
EA NOP EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
20 xx xx JSR @rts14 08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Requires @rts14; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
10 bytes | |
08 PHP 28 PLP 08 PHP 28 PLP 08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP |
Writes in stack |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
12 bytes | |
EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
13 bytes | |
EA NOP EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
14 bytes | |
EA NOP EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
17 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
18 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
34 cycles
5 bytes | |
---|---|
A0 88 LDY #136 ;hides 'DEY' 88 DEY 30 FC BMI *-2 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C |
6 bytes | |
48 PHA A2 06 LDX #6 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
68 PLA 68 PLA 00 00 BRK 0 00 00 BRK 0 |
Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 06 LDX #6 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP 28 PLP 00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
EA NOP 48 PHA 48 PHA 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #0 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #0 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
08 PHP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A; and writes in stack |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP EA NOP EA NOP EA NOP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
9 bytes | |
08 PHP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 68 PLA 28 PLP |
Writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
11 bytes | |
EA NOP EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
12 bytes | |
26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
17 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
35 cycles
5 bytes | |
---|---|
A9 LDA #8 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 88 LDY #136 ;hides 'DEY' 88 DEY 88 DEY 30 FB BMI *-3 |
Clobbers Y, and Z&N |
A9 2A LDA #$2A ;hides 'ROL A' 08 PHP 28 PLP 10 FB BPL *-3 |
Clobbers A, Z&N, and C; and writes in stack |
A2 F8 LDX #248 ;hides 'SED' E8 INX E8 INX D0 FB BNE *-3 |
Clobbers X, Z&N, and D |
68 PLA A2 06 LDX #6 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 |
Clobbers A, S, Z&N, C, and V |
68 PLA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes |
7 bytes | |
EA NOP EA NOP A2 06 LDX #6 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 |
Clobbers A, Z&N, C, and V |
EA NOP 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
68 PLA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, S, Z&N, and C |
EA NOP EA NOP A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP A9 LDA #1 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #1 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A2 05 LDX #5 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 05 LDY #5 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 90 00 BCC *+2 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C |
08 PHP 28 PLP 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
E6 xx INC @zptemp 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Clobbers Z&N; requires @zptemp, and @rts15; and writes in stack |
EA NOP 48 PHA 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
9 bytes | |
08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 68 PLA 28 PLP |
Writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
10 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
13 bytes | |
EA NOP EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
14 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
15 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
18 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
19 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
36 cycles
5 bytes | |
---|---|
A2 07 LDX #7 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 07 LDY #7 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
6 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C |
7 bytes | |
48 PHA 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #2 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #2 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only EA NOP 10 FB BPL *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 04 LDX #4 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 04 LDY #4 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only EA NOP 10 FB BPL *-3 68 PLA |
Clobbers Z&N, C, V, and D; and writes in stack |
08 PHP 28 PLP 20 xx xx JSR @rts14 20 xx xx JSR @rts15 |
Requires @rts14, and @rts15; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
08 PHP 24 00 BIT $00 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Clobbers S; requires @rts15; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$EA' EA NOP ;first loop only EA NOP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
20 xx xx JSR @rts12 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Requires @rts12; and writes in stack |
EA NOP EA NOP EA NOP 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
EA NOP 48 PHA 48 PHA 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Clobbers S; requires @rts14; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 18 CLC 10 FC BPL *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
18 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
37 cycles
5 bytes | |
---|---|
A9 LDA #10 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA A0 88 LDY #136 ;hides 'DEY' 88 DEY 30 FC BMI *-2 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 04 LDX #4 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
A0 04 LDY #4 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
7 bytes | |
A0 04 LDY #4 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N |
A2 04 LDX #4 EA NOP EA NOP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 00 00 BRK 0 10 FA BPL *-4 |
Clobbers A, and Z&N; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #3 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #3 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP 28 PLP 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP EA NOP 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
9 bytes | |
EA NOP EA NOP EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 08 PHP A2 05 LDX #5 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 05 LDY #5 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 10 FC BPL *-2 68 PLA 28 PLP |
Writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
11 bytes | |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
14 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
15 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
19 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
20 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
38 cycles
5 bytes | |
---|---|
A9 LDA #11 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 07 LDY #7 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 07 LDX #7 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, S, Z&N, and C |
7 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 06 LDY #6 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 06 LDX #6 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
20 xx xx JSR @rts12 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler, and @rts12; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
8 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Writes in stack |
10 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
12 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
13 bytes | |
EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
19 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
39 cycles
4 bytes | |
---|---|
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
6 bytes | |
00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA A0 07 LDY #7 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 07 LDX #7 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A4 00 LDY $00 A0 07 LDY #7 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 07 LDX #7 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP A9 LDA #5 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #5 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 05 LDY #5 ;hides 'ORA zp' 88 DEY ;first loop only 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers A, and Y; and writes in stack |
08 PHP A2 05 LDX #5 ;hides 'ORA zp' CA DEX ;first loop only CA DEX D0 FB BNE *-3 28 PLP |
Clobbers A, and X; and writes in stack |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 20 xx xx JSR @rts14 10 F9 BPL *-5 |
Clobbers A, and Z&N; requires @rts14; and writes in stack |
68 PLA 68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
9 bytes | |
EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
08 PHP A9 2A LDA #$2A ;hides 'ROL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
48 PHA 08 PHP A2 04 LDX #4 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 04 LDY #4 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y, and S; and writes in stack |
08 PHP A0 FA LDY #250 ;hides 'NOP' EA NOP C8 INY C8 INY D0 FA BNE *-4 28 PLP |
Clobbers Y; requires support for unofficial opcodes; and writes in stack |
08 PHP A2 FA LDX #250 ;hides 'NOP' EA NOP E8 INX E8 INX D0 FA BNE *-4 28 PLP |
Clobbers X; requires support for unofficial opcodes; and writes in stack |
10 bytes | |
08 PHP A6 00 LDX $00 A2 04 LDX #4 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 04 LDY #4 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP 28 PLP 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
48 PHA 20 xx xx JSR @rts12 20 xx xx JSR @rts12 20 xx xx JSR @rts12 |
Clobbers S; requires @rts12; and writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
11 bytes | |
08 PHP 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 08 PHP 28 PLP 10 FA BPL *-4 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
14 bytes | |
C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
15 bytes | |
4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
20 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
21 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
40 cycles
5 bytes | |
---|---|
A9 LDA #13 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 05 LDX #5 ;hides 'ORA zp' EA NOP CA DEX D0 FB BNE *-3 |
Clobbers A, X, and Z&N |
A0 05 LDY #5 ;hides 'ORA zp' EA NOP 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, and Z&N |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 |
Clobbers A, S, Z&N, C, and V |
7 bytes | |
EA NOP EA NOP A0 07 LDY #7 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 07 LDX #7 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
00 00 BRK 0 00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, S, Z&N, and C |
08 PHP A9 LDA #6 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #6 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A0 06 LDY #6 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 06 LDX #6 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 28 PLP 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Writes in stack |
10 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
12 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
14 bytes | |
EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
20 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
41 cycles
5 bytes | |
---|---|
A0 08 LDY #8 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 08 LDX #8 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
7 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 88 LDY #136 ;hides 'DEY' 88 DEY 30 FC BMI *-2 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
8 bytes | |
48 PHA 08 PHP A2 06 LDX #6 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 06 LDX #6 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
20 xx xx JSR @rts12 20 xx xx JSR @rts14 20 xx xx JSR @rts15 |
Requires @rts12, @rts14, and @rts15; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Clobbers S; and writes in stack |
08 PHP 48 PHA A9 LDA #0 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Writes in stack |
11 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
13 bytes | |
EA NOP EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
14 bytes | |
E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
15 bytes | |
EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
16 bytes | |
EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
21 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
22 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
42 cycles
5 bytes | |
---|---|
48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 LDA #15 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
7 bytes | |
EA NOP A2 05 LDX #5 ;hides 'ORA zp' EA NOP CA DEX D0 FB BNE *-3 |
Clobbers A, X, and Z&N |
EA NOP A0 05 LDY #5 ;hides 'ORA zp' EA NOP 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, and Z&N |
48 PHA 48 PHA A2 07 LDX #7 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA 48 PHA A0 07 LDY #7 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #8 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #8 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 2A LDA #$2A ;hides 'ROL A' 08 PHP 28 PLP 10 FB BPL *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 F8 LDX #248 ;hides 'SED' E8 INX E8 INX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 88 LDY #136 ;hides 'DEY' 88 DEY 88 DEY 30 FB BMI *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP EA NOP A2 07 LDX #7 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP EA NOP A0 07 LDY #7 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
24 00 BIT $00 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers Z&N, and V; requires dummy interrupt handler; and writes in stack |
EA NOP 00 00 BRK 0 00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
85 xx STA @zptemp 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
04 00 NOP $00 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
9 bytes | |
20 xx xx JSR @rts12 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts12, and @rts15; and writes in stack |
20 xx xx JSR @rts14 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #1 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Writes in stack |
11 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
12 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
15 bytes | |
EA NOP EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
21 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
43 cycles
5 bytes | |
---|---|
68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
A9 LDA #16 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 06 LDY #6 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 06 LDX #6 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
7 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 07 LDY #7 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 07 LDX #7 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
8 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP EA NOP 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
9 bytes | |
20 xx xx JSR @rts14 20 xx xx JSR @rts14 20 xx xx JSR @rts15 |
Requires @rts14, and @rts15; and writes in stack |
08 PHP 48 PHA A9 LDA #2 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only EA NOP 10 FB BPL *-3 68 PLA 28 PLP |
Writes in stack |
11 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
13 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F4 BPL *-10 |
Clobbers A, and Z&N |
15 bytes | |
EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
16 bytes | |
EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
17 bytes | |
EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
22 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
23 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
44 cycles
5 bytes | |
---|---|
A9 LDA #17 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 88 LDY #136 ;hides 'DEY' EA NOP 88 DEY 30 FB BMI *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 |
Clobbers A, Z&N, and C |
48 PHA A2 08 LDX #8 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 08 LDX #8 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP A9 LDA #10 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #10 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
00 00 BRK 0 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
E6 xx INC @zptemp 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers Z&N; requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 08 PHP A0 88 LDY #136 ;hides 'DEY' 88 DEY 30 FC BMI *-2 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
EA NOP 48 PHA 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 04 LDY #4 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 04 LDX #4 EA NOP EA NOP CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers Z&N, and C; and writes in stack |
20 xx xx JSR @rts14 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts14, and @rts15; and writes in stack |
48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 00 00 BRK 0 10 FA BPL *-4 68 PLA |
Clobbers Z&N; requires dummy interrupt handler; and writes in stack |
18 CLC 90 00 BCC *+2 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers C; requires dummy interrupt handler; and writes in stack |
B8 CLV 50 00 BVC *+2 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers V; requires dummy interrupt handler; and writes in stack |
EA NOP EA NOP 00 00 BRK 0 00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
EA NOP 85 xx STA @zptemp 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
EA NOP 04 00 NOP $00 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #3 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 28 PLP 08 PHP 28 PLP 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts15; and writes in stack |
EA NOP 20 xx xx JSR @rts14 20 xx xx JSR @rts14 20 xx xx JSR @rts14 |
Requires @rts14; and writes in stack |
EA NOP EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Clobbers S; and writes in stack |
11 bytes | |
EA NOP EA NOP EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Writes in stack |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
13 bytes | |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
16 bytes | |
26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
22 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
45 cycles
5 bytes | |
---|---|
A9 LDA #18 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 08 LDY #8 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 08 LDX #8 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
7 bytes | |
EA NOP A0 06 LDY #6 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP A2 06 LDX #6 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
08 PHP A9 LDA #11 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #11 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A2 07 LDX #7 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 07 LDY #7 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA 48 PHA 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
14 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
16 bytes | |
EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
17 bytes | |
EA NOP EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
18 bytes | |
EA NOP EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
23 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
24 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 4C xx xx JMP *+3 |
Not relocatable code |
46 cycles
5 bytes | |
---|---|
A0 09 LDY #9 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 09 LDX #9 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #19 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
8 bytes | |
08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A0 07 LDY #7 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 07 LDX #7 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 07 LDX #7 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 07 LDY #7 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP 48 PHA A9 LDA #5 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 20 xx xx JSR @rts14 20 xx xx JSR @rts15 20 xx xx JSR @rts15 |
Requires @rts14, and @rts15; and writes in stack |
48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 20 xx xx JSR @rts14 10 F9 BPL *-5 68 PLA |
Clobbers Z&N; requires @rts14; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
14 bytes | |
EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
16 bytes | |
26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
23 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
47 cycles
5 bytes | |
---|---|
A9 LDA #20 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
7 bytes | |
BA TSX 68 PLA 9A TXS A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, X, Z&N, and C |
00 00 BRK 0 A0 88 LDY #136 ;hides 'DEY' 88 DEY 30 FC BMI *-2 |
Clobbers Y, and Z&N; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA A0 08 LDY #8 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA 48 PHA A2 08 LDX #8 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
EA NOP 68 PLA A0 08 LDY #8 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP 68 PLA A2 08 LDX #8 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
08 PHP A9 LDA #13 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #13 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP A2 06 LDX #6 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 06 LDY #6 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
08 PHP A2 05 LDX #5 ;hides 'ORA zp' EA NOP CA DEX D0 FB BNE *-3 28 PLP |
Clobbers A, and X; and writes in stack |
08 PHP A0 05 LDY #5 ;hides 'ORA zp' EA NOP 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers A, and Y; and writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 |
Clobbers A, Z&N, and C |
68 PLA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
9 bytes | |
EA NOP EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 08 PHP A2 07 LDX #7 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 07 LDY #7 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 20 xx xx JSR @rts14 |
Requires dummy interrupt handler, and @rts14; and writes in stack |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
EA NOP 48 PHA 48 PHA 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #6 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
14 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
17 bytes | |
EA NOP EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
18 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
19 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
24 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 |
Clobbers C |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP B8 CLV 50 00 BVC *+2 |
Clobbers V |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 85 xx STA @zptemp |
Requires @zptemp |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 04 00 NOP $00 |
Requires support for unofficial opcodes |
48 cycles
5 bytes | |
---|---|
A9 LDA #21 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 09 LDX #9 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 09 LDY #9 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 08 LDX #8 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 08 LDY #8 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
15 bytes | |
EA NOP EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
16 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
24 bytes | |
EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP |
No requirements |
49 cycles
4 bytes | |
---|---|
A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 |
Clobbers Y, and Z&N |
5 bytes | |
A9 LDA #22 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 06 LDX #6 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 09 LDX #9 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 10 FA BPL *-4 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
EA NOP 68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP A9 LDA #15 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #15 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A; and writes in stack |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
26 00 ROL $00 66 00 ROR $00 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
9 bytes | |
48 PHA 48 PHA 08 PHP A2 07 LDX #7 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A0 07 LDY #7 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Clobbers S; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #8 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
14 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
18 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
19 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
50 cycles
5 bytes | |
---|---|
A9 LDA #23 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 07 LDX #7 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 07 LDY #7 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, Z&N, C, and V |
7 bytes | |
A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts12 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
68 PLA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
08 PHP A9 LDA #16 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #16 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 06 LDY #6 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 06 LDX #6 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
15 bytes | |
68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F4 BPL *-10 |
Clobbers A, and Z&N |
17 bytes | |
EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
51 cycles
5 bytes | |
---|---|
A0 0A LDY #10 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 0A LDX #10 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 |
Clobbers A, Z&N, C, and V |
7 bytes | |
20 xx xx JSR @rts12 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
68 PLA 68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
08 PHP A9 LDA #17 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #17 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 88 LDY #136 ;hides 'DEY' EA NOP 88 DEY 30 FB BMI *-3 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
36 00 ROL $00,X 76 00 ROR $00,X A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP A2 08 LDX #8 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 08 LDX #8 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
20 xx xx JSR @rts12 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler, and @rts12; and writes in stack |
08 PHP 48 PHA A9 LDA #10 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
00 00 BRK 0 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
11 bytes | |
08 PHP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 10 FC BPL *-2 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
15 bytes | |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
18 bytes | |
C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
19 bytes | |
4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
52 cycles
5 bytes | |
---|---|
48 PHA A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 |
Clobbers Y, S, and Z&N; and writes in stack |
A9 LDA #25 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A4 00 LDY $00 A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 |
Clobbers Y, and Z&N |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
7 bytes | |
EA NOP A2 07 LDX #7 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, Z&N, C, and V |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #18 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #18 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts12 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
EA NOP 68 PLA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
9 bytes | |
EA NOP EA NOP EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A0 06 LDY #6 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 06 LDX #6 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP EA NOP EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #11 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
16 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
18 bytes | |
EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
53 cycles
5 bytes | |
---|---|
68 PLA A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 |
Clobbers A, Y, S, and Z&N |
A9 LDA #26 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 0A LDY #10 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 0A LDX #10 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 |
Clobbers A, Z&N, C, and V |
A9 2A LDA #$2A ;hides 'ROL A' 00 00 BRK 0 10 FB BPL *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
7 bytes | |
08 PHP A2 09 LDX #9 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 09 LDY #9 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
20 xx xx JSR @rts14 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #19 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #19 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Writes in stack |
68 PLA 48 PHA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
14 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
16 bytes | |
EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
18 bytes | |
E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
19 bytes | |
EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
20 bytes | |
EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
54 cycles
5 bytes | |
---|---|
A9 LDA #27 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
E6 xx INC @zptemp A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 |
Clobbers Y, and Z&N; and requires @zptemp |
48 PHA A0 0A LDY #10 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 0A LDX #10 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
A0 88 LDY #136 ;hides 'DEY' 68 PLA 88 DEY 30 FB BMI *-3 |
Clobbers A, Y, S, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 0A LDX #10 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 0A LDY #10 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C |
08 PHP A9 LDA #20 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #20 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
68 PLA 68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
9 bytes | |
08 PHP BA TSX 68 PLA 9A TXS A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A, and X; and writes in stack |
EA NOP 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A2 08 LDX #8 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A0 08 LDY #8 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
EA NOP 48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #13 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 08 PHP A2 06 LDX #6 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 06 LDY #6 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
11 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
16 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
19 bytes | |
EA NOP EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
55 cycles
5 bytes | |
---|---|
A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
A0 F8 LDY #248 ;hides 'SED' C8 INY D0 FC BNE *-2 |
Clobbers Y, Z&N, and D |
A2 F8 LDX #248 ;hides 'SED' E8 INX D0 FC BNE *-2 |
Clobbers X, Z&N, and D |
6 bytes | |
48 PHA 48 PHA A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 |
Clobbers Y, S, and Z&N; and writes in stack |
A0 06 LDY #6 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
A2 06 LDX #6 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
7 bytes | |
A0 06 LDY #6 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N |
A2 06 LDX #6 EA NOP EA NOP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N |
08 PHP A9 LDA #21 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #21 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A0 09 LDY #9 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 09 LDX #9 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
9 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
16 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F1 BPL *-13 |
Clobbers A, and Z&N |
19 bytes | |
EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
20 bytes | |
EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
21 bytes | |
EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
56 cycles
5 bytes | |
---|---|
A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 LDA #29 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
08 PHP A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 28 PLP |
Clobbers Y; and writes in stack |
7 bytes | |
A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts14 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
E6 xx INC @zptemp A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #22 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #22 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP A2 09 LDX #9 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 10 FA BPL *-4 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 06 LDX #6 24 00 BIT $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 10 FA BPL *-4 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Clobbers S; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #15 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
16 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
20 bytes | |
26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
57 cycles
5 bytes | |
---|---|
A9 LDA #30 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 08 LDX #8 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 08 LDY #8 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
7 bytes | |
08 PHP A9 LDA #23 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #23 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 07 LDY #7 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 07 LDX #7 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
9 bytes | |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts12 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
08 PHP 48 PHA A9 LDA #16 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
17 bytes | |
EA NOP A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F1 BPL *-13 |
Clobbers A, and Z&N |
20 bytes | |
EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
21 bytes | |
EA NOP EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
22 bytes | |
EA NOP EA NOP EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
58 cycles
5 bytes | |
---|---|
A9 LDA #31 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
7 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 0A LDY #10 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0A LDX #10 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
9 bytes | |
20 xx xx JSR @rts12 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
08 PHP 48 PHA A9 LDA #17 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
17 bytes | |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
20 bytes | |
26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
59 cycles
5 bytes | |
---|---|
A9 LDA #32 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
68 PLA A2 F8 LDX #248 ;hides 'SED' E8 INX D0 FC BNE *-2 |
Clobbers A, X, S, Z&N, and D |
68 PLA A0 F8 LDY #248 ;hides 'SED' C8 INY D0 FC BNE *-2 |
Clobbers A, Y, S, Z&N, and D |
7 bytes | |
A6 00 LDX $00 A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 28 PLP |
Clobbers Y, and S; and writes in stack |
08 PHP A9 LDA #25 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #25 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A4 00 LDY $00 A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 28 PLP |
Clobbers Y; and writes in stack |
00 00 BRK 0 08 PHP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A2 07 LDX #7 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #18 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts12 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Clobbers S; and writes in stack |
11 bytes | |
EA NOP EA NOP EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
17 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F0 BPL *-14 |
Clobbers A, and Z&N |
21 bytes | |
EA NOP EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
22 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
23 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
60 cycles
5 bytes | |
---|---|
A9 LDA #33 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
EA NOP EA NOP A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #26 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #26 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A0 0A LDY #10 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 0A LDX #10 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
20 xx xx JSR @rts14 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
08 PHP 48 PHA A9 LDA #19 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
18 bytes | |
EA NOP EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
20 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
61 cycles
5 bytes | |
---|---|
A0 0C LDY #12 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 0C LDX #12 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #34 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 |
Clobbers A, Z&N, and C; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$38' 38 SEC ;first loop only E6 xx INC @zptemp B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
08 PHP A9 LDA #27 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #27 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
08 PHP E6 xx INC @zptemp A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 28 PLP |
Clobbers Y; requires @zptemp; and writes in stack |
48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 08 PHP A2 0A LDX #10 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 0A LDY #10 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 28 PLP |
Clobbers A; and writes in stack |
08 PHP A4 00 LDY $00 A0 0A LDY #10 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A6 00 LDX $00 A2 0A LDX #10 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #20 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
EA NOP 08 PHP 28 PLP 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 00 00 BRK 0 |
Requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Clobbers S; and writes in stack |
12 bytes | |
08 PHP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 68 PLA 28 PLP |
Writes in stack |
16 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
18 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
22 bytes | |
C5 00 CMP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
23 bytes | |
4C xx xx JMP *+3 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
62 cycles
5 bytes | |
---|---|
A2 88 LDX #136 ;hides 'DEY' CA DEX 30 FC BMI *-2 |
Clobbers X, Y, and Z&N |
A9 LDA #35 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
00 00 BRK 0 A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 |
Clobbers Y, and Z&N; requires dummy interrupt handler; and writes in stack |
7 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 F8 LDX #248 ;hides 'SED' E8 INX D0 FC BNE *-2 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 F8 LDY #248 ;hides 'SED' C8 INY D0 FC BNE *-2 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
68 PLA 48 PHA A0 F8 LDY #248 ;hides 'SED' C8 INY D0 FC BNE *-2 |
Clobbers A, Y, Z&N, and D |
68 PLA 48 PHA A2 F8 LDX #248 ;hides 'SED' E8 INX D0 FC BNE *-2 |
Clobbers A, X, Z&N, and D |
EA NOP 68 PLA A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP 68 PLA A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
8 bytes | |
EA NOP EA NOP EA NOP A0 0B LDY #11 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP EA NOP A2 0B LDX #11 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
9 bytes | |
08 PHP 48 PHA A9 LDA #21 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
EA NOP 08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Writes in stack |
16 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
18 bytes | |
68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F1 BPL *-13 |
Clobbers A, and Z&N |
21 bytes | |
EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
63 cycles
5 bytes | |
---|---|
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 LDA #36 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 0C LDX #12 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 0C LDY #12 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
7 bytes | |
08 PHP A2 0B LDX #11 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0B LDY #11 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and not relocatable code |
38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
08 PHP A9 LDA #29 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #29 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts14 10 FA BPL *-4 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts14 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
08 PHP E6 xx INC @zptemp A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp; and writes in stack |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 00 00 BRK 0 00 00 BRK 0 10 F8 BPL *-6 |
Clobbers A, and Z&N; requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 28 PLP |
Clobbers A, and S; and writes in stack |
EA NOP 48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
48 PHA 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA |
Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #22 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 2A LDA #$2A ;hides 'ROL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 10 FA BPL *-4 68 PLA 28 PLP |
Writes in stack |
16 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
18 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
22 bytes | |
C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
E6 xx INC @zptemp 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
23 bytes | |
4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
64 cycles
5 bytes | |
---|---|
A9 LDA #37 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 09 LDY #9 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 09 LDX #9 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
7 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP EA NOP B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 18 CLC 10 FA BPL *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #30 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #30 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 08 LDY #8 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 08 LDX #8 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP 48 PHA A9 LDA #23 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Writes in stack |
16 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
19 bytes | |
EA NOP 68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F1 BPL *-13 |
Clobbers A, and Z&N |
22 bytes | |
EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
65 cycles
5 bytes | |
---|---|
A9 LDA #38 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 08 LDY #8 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 08 LDX #8 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
68 PLA A0 0C LDY #12 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 0C LDX #12 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
7 bytes | |
EA NOP EA NOP A0 0C LDY #12 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 0C LDX #12 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP A9 LDA #31 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #31 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 0B LDX #11 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 0B LDY #11 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and not relocatable code |
A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts15 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
EA NOP 38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
00 00 BRK 0 00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
EA NOP 68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
9 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Writes in stack |
26 00 ROL $00 66 00 ROR $00 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
17 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
19 bytes | |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
22 bytes | |
E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
23 bytes | |
EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
24 bytes | |
EA NOP 4C xx xx JMP *+3 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and not relocatable code |
66 cycles
5 bytes | |
---|---|
A0 0D LDY #13 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #39 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
7 bytes | |
08 PHP A9 LDA #32 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #32 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
38 SEC A9 09 LDA #9 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
48 PHA 08 PHP A2 0B LDX #11 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 0B LDY #11 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
68 PLA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
04 00 NOP $00 A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
08 PHP A6 00 LDX $00 A2 0B LDX #11 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 0B LDY #11 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #25 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
00 00 BRK 0 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
11 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Writes in stack |
17 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
19 bytes | |
68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 F0 BPL *-14 |
Clobbers A, and Z&N |
23 bytes | |
EA NOP EA NOP EA NOP 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
67 cycles
5 bytes | |
---|---|
A9 LDA #40 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
7 bytes | |
BA TSX A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 9A TXS |
Clobbers A, X, Z&N, and C; and writes in stack |
E6 xx INC @zptemp A2 88 LDX #136 ;hides 'DEY' CA DEX 30 FC BMI *-2 |
Clobbers X, Y, and Z&N; and requires @zptemp |
A2 06 LDX #6 48 PHA 48 PHA CA DEX D0 F9 BNE *-5 |
Clobbers X, S, and Z&N; and writes in stack |
A0 06 LDY #6 48 PHA 48 PHA 88 DEY D0 F9 BNE *-5 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 06 LDX #6 EA NOP 68 PLA CA DEX D0 F9 BNE *-5 |
Clobbers A, X, S, and Z&N |
A0 06 LDY #6 EA NOP 68 PLA 88 DEY D0 F9 BNE *-5 |
Clobbers A, Y, S, and Z&N |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and requires @zptemp |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes |
08 PHP A9 LDA #33 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #33 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A4 00 LDY $00 A0 09 LDY #9 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 09 LDX #9 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
20 xx xx JSR @rts12 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only EA NOP EA NOP EA NOP 30 F9 BMI *-5 |
Clobbers A, Z&N, C, and V |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
68 PLA 68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
98 TYA 48 PHA A0 0B LDY #11 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 0B LDY #11 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 0B LDX #11 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
36 00 ROL $00,X 76 00 ROR $00,X A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
08 PHP E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP 48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 28 PLP |
Clobbers A, and S; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #26 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Writes in stack |
17 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
19 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EE BPL *-16 |
Clobbers A, and Z&N |
23 bytes | |
EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
24 bytes | |
EA NOP EA NOP C5 00 CMP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and C |
EA NOP EA NOP 24 00 BIT $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N, and V |
EA NOP EA NOP 04 00 NOP $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires support for unofficial opcodes |
68 cycles
5 bytes | |
---|---|
A9 LDA #41 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 0D LDY #13 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A2 0C LDX #12 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0C LDY #12 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #34 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #34 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
9 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 68 PLA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
EA NOP 04 00 NOP $00 A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #27 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 10 FB BPL *-3 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 10 FA BPL *-4 68 PLA 28 PLP |
Writes in stack |
17 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
20 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers A, and Z&N |
24 bytes | |
26 00 ROL $00 66 00 ROR $00 26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
69 cycles
5 bytes | |
---|---|
A0 88 LDY #136 ;hides 'DEY' EA NOP 30 FC BMI *-2 |
Clobbers Y, and Z&N |
A2 0A LDX #10 ;hides 'ASL A' CA DEX D0 FC BNE *-2 |
Clobbers A, X, Z&N, and C |
A9 LDA #42 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP A2 88 LDX #136 ;hides 'DEY' CA DEX 30 FC BMI *-2 28 PLP |
Clobbers X, and Y; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C; and writes in stack |
08 PHP A9 LDA #35 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #35 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
00 00 BRK 0 08 PHP A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 28 PLP |
Clobbers Y; requires dummy interrupt handler; and writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and requires @zptemp |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC 10 F8 BPL *-6 |
Clobbers A, Z&N, and C |
18 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
20 bytes | |
EA NOP A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EE BPL *-16 |
Clobbers A, and Z&N |
24 bytes | |
EA NOP EA NOP E6 xx INC @zptemp 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N; and requires @zptemp |
70 cycles
5 bytes | |
---|---|
A9 LDA #43 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 0D LDY #13 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
EA NOP EA NOP A0 0D LDY #13 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
48 PHA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #36 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #36 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A0 0C LDY #12 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 0C LDX #12 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
20 xx xx JSR @rts15 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
EA NOP 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP 00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
08 PHP 38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; writes in stack; and not relocatable code |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and not relocatable code |
48 PHA 38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
68 PLA 68 PLA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
08 PHP 48 PHA A9 LDA #29 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
11 bytes | |
08 PHP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts14 10 FA BPL *-4 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
08 PHP E6 xx INC @zptemp 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only 00 00 BRK 0 00 00 BRK 0 10 F8 BPL *-6 68 PLA |
Clobbers Z&N; requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 68 PLA 28 PLP |
Writes in stack |
18 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
20 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
24 bytes | |
26 00 ROL $00 66 00 ROR $00 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
71 cycles
5 bytes | |
---|---|
A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #44 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
7 bytes | |
08 PHP A9 LDA #37 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #37 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 09 LDY #9 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 09 LDX #9 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
9 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP EA NOP B0 FA BCS *-4 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP EA NOP B0 FA BCS *-4 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #30 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
18 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
20 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 ED BPL *-17 |
Clobbers A, and Z&N |
72 cycles
5 bytes | |
---|---|
A9 LDA #45 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 88 LDY #136 ;hides 'DEY' EA NOP 30 FC BMI *-2 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 0A LDX #10 ;hides 'ASL A' CA DEX D0 FC BNE *-2 |
Clobbers A, X, S, Z&N, and C; and writes in stack |
7 bytes | |
A4 00 LDY $00 A0 88 LDY #136 ;hides 'DEY' EA NOP 30 FC BMI *-2 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 0A LDX #10 ;hides 'ASL A' CA DEX D0 FC BNE *-2 |
Clobbers A, X, Z&N, and C |
48 PHA 48 PHA A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
EA NOP 68 PLA A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
08 PHP A9 LDA #38 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #38 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A2 0D LDX #13 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A2 88 LDX #136 ;hides 'DEY' CA DEX 30 FC BMI *-2 28 PLP |
Clobbers X, Y, and S; and writes in stack |
EA NOP 48 PHA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; and writes in stack |
68 PLA 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
8C TXA 48 PHA A2 0C LDX #12 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP A2 08 LDX #8 C5 00 CMP $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 08 LDY #8 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #31 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; writes in stack; and not relocatable code |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 20 xx xx JSR @rts15 18 CLC 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and not relocatable code |
EA NOP 48 PHA 38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
00 00 BRK 0 00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
EA NOP 68 PLA 68 PLA 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C |
11 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 30 FC BMI *-2 68 PLA 28 PLP |
Writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC 10 F8 BPL *-6 |
Clobbers A, Z&N, and C |
18 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
21 bytes | |
EA NOP 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
24 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X |
Clobbers Z&N |
73 cycles
5 bytes | |
---|---|
A9 LDA #46 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A0 0D LDY #13 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0D LDX #13 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
08 PHP A9 LDA #39 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #39 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 28 PLP |
Clobbers A, and S; requires @zptemp; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; requires @zptemp; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 28 PLP |
Clobbers A, and S; requires support for unofficial opcodes; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #32 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA 28 PLP |
Writes in stack |
19 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
21 bytes | |
EA NOP A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 ED BPL *-17 |
Clobbers A, and Z&N |
74 cycles
5 bytes | |
---|---|
A9 LDA #47 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 08 PHP 28 PLP 10 FA BPL *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #40 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #40 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP BA TSX A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 9A TXS 28 PLP |
Clobbers A, and X; and writes in stack |
08 PHP E6 xx INC @zptemp A2 88 LDX #136 ;hides 'DEY' CA DEX 30 FC BMI *-2 28 PLP |
Clobbers X, and Y; requires @zptemp; and writes in stack |
48 PHA 08 PHP A0 09 LDY #9 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 09 LDX #9 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X, and S; and writes in stack |
68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 28 PLP |
Clobbers A, S, and Z&N; requires @zptemp; and writes in stack |
68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 28 PLP |
Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #33 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only EA NOP EA NOP EA NOP 30 F9 BMI *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A2 08 LDX #8 C5 00 CMP $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 08 LDY #8 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
20 xx xx JSR @rts12 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only EA NOP EA NOP EA NOP 30 F9 BMI *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 0B LDY #11 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
EA NOP 48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
12 bytes | |
08 PHP 48 PHA 98 TYA 48 PHA A0 88 LDY #136 ;hides 'DEY' 30 FD BMI *-1 68 PLA A8 TAY 68 PLA 28 PLP |
Writes in stack |
19 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
21 bytes | |
68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EE BPL *-16 |
Clobbers A, and Z&N |
75 cycles
5 bytes | |
---|---|
A9 LDA #48 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
EA NOP EA NOP A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C |
08 PHP A9 LDA #41 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #41 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 0D LDX #13 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 0D LDY #13 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #34 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA 28 PLP |
Writes in stack |
19 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
21 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EC BPL *-18 |
Clobbers A, and Z&N |
76 cycles
5 bytes | |
---|---|
A2 0F LDX #15 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 0F LDY #15 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only 30 FC BMI *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
A9 LDA #49 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A0 88 LDY #136 ;hides 'DEY' EA NOP 30 FC BMI *-2 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0A LDX #10 ;hides 'ASL A' CA DEX D0 FC BNE *-2 28 PLP |
Clobbers A, and X; and writes in stack |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #42 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #42 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and requires @zptemp |
48 PHA 08 PHP A2 0D LDX #13 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 08 PHP 28 PLP 10 FA BPL *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC 10 FA BPL *-4 28 PLP |
Clobbers A; and writes in stack |
08 PHP A6 00 LDX $00 A2 0D LDX #13 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #35 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
19 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
22 bytes | |
EA NOP 68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EE BPL *-16 |
Clobbers A, and Z&N |
77 cycles
5 bytes | |
---|---|
A9 LDA #50 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
48 PHA 48 PHA A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA 48 PHA A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
EA NOP 68 PLA A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP 68 PLA A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
08 PHP A9 LDA #43 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #43 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A2 0E LDX #14 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP EA NOP A0 0E LDY #14 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 20 xx xx JSR @rts14 10 F9 BPL *-5 |
Clobbers A, Z&N, C, V, and D; requires @rts14; and writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C |
A9 4B LDA #$4B ;hides 'ASR #$EA' EA NOP ;first loop only 20 xx xx JSR @rts14 D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack |
9 bytes | |
98 TYA 48 PHA A0 0D LDY #13 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 0D LDY #13 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 0D LDX #13 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #36 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
20 xx xx JSR @rts15 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
EA NOP 48 PHA 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
EA NOP 00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
20 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
22 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
78 cycles
5 bytes | |
---|---|
A9 LDA #51 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 0B LDY #11 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 0B LDX #11 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only 30 FC BMI *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
08 PHP A2 0E LDX #14 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0E LDY #14 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 0F LDA #15 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #44 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #44 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP 48 PHA A9 LDA #37 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only EA NOP EA NOP B0 FA BCS *-4 68 PLA 28 PLP |
Writes in stack |
20 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
22 bytes | |
68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 ED BPL *-17 |
Clobbers A, and Z&N |
79 cycles
5 bytes | |
---|---|
A0 88 LDY #136 ;hides 'DEY' 48 PHA 30 FC BMI *-2 |
Clobbers Y, S, and Z&N; and writes in stack |
A9 LDA #52 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 88 LDY #136 ;hides 'DEY' A5 00 LDA $00 30 FB BMI *-3 |
Clobbers A, Y, and Z&N |
A0 88 LDY #136 ;hides 'DEY' A6 00 LDX $00 30 FB BMI *-3 |
Clobbers X, Y, and Z&N |
A0 88 LDY #136 ;hides 'DEY' C5 00 CMP $00 30 FB BMI *-3 |
Clobbers Y, Z&N, and C |
A0 88 LDY #136 ;hides 'DEY' 24 00 BIT $00 30 FB BMI *-3 |
Clobbers Y, Z&N, and V |
A0 88 LDY #136 ;hides 'DEY' 85 xx STA @zptemp 30 FB BMI *-3 |
Clobbers Y, and Z&N; and requires @zptemp |
48 PHA A2 0F LDX #15 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
A0 88 LDY #136 ;hides 'DEY' 04 00 NOP $00 30 FB BMI *-3 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
A6 00 LDX $00 A2 0F LDX #15 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 0F LDY #15 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP A9 LDA #45 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #45 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and not relocatable code |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA 08 PHP A0 88 LDY #136 ;hides 'DEY' EA NOP 30 FC BMI *-2 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 0A LDX #10 ;hides 'ASL A' CA DEX D0 FC BNE *-2 28 PLP |
Clobbers A, X, and S; and writes in stack |
68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C |
9 bytes | |
08 PHP A4 00 LDY $00 A0 88 LDY #136 ;hides 'DEY' EA NOP 30 FC BMI *-2 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A6 00 LDX $00 A2 0A LDX #10 ;hides 'ASL A' CA DEX D0 FC BNE *-2 28 PLP |
Clobbers A, and X; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
48 PHA 48 PHA 08 PHP A2 0D LDX #13 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
08 PHP 48 PHA A9 LDA #38 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 98 TYA 48 PHA A0 0D LDY #13 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A2 0D LDX #13 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
00 00 BRK 0 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC 10 FA BPL *-4 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 0C LDX #12 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 0C LDA #12 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
20 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
22 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EB BPL *-19 |
Clobbers A, and Z&N |
80 cycles
5 bytes | |
---|---|
A9 LDA #53 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 88 LDX #136 ;hides 'DEY' EA NOP CA DEX 30 FB BMI *-3 |
Clobbers X, Y, and Z&N |
68 PLA A2 0F LDX #15 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 0F LDY #15 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only 30 FC BMI *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
EA NOP A2 0B LDX #11 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A0 0B LDY #11 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #46 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #46 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A0 0E LDY #14 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 0E LDX #14 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 0B LDA #11 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
68 PLA 00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 48 PHA D0 FC BNE *-2 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #39 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp D0 FB BNE *-3 68 PLA 28 PLP |
Clobbers S; requires @zptemp; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA 28 PLP |
Clobbers S; requires support for unofficial opcodes; and writes in stack |
12 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA 28 PLP |
Writes in stack |
20 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
23 bytes | |
EA NOP 68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 ED BPL *-17 |
Clobbers A, and Z&N |
81 cycles
5 bytes | |
---|---|
A2 10 LDX #16 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 10 LDY #16 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 LDA #54 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA 30 FB BMI *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
A9 69 LDA #$69 ;hides 'ADC #$18' 18 CLC ;first loop only E6 xx INC @zptemp 90 FA BCC *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 30 FA BMI *-4 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP A9 LDA #47 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #47 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
48 PHA 08 PHP A2 0E LDX #14 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 0E LDY #14 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
08 PHP A4 00 LDY $00 A0 0E LDY #14 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A6 00 LDX $00 A2 0E LDX #14 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and not relocatable code |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
EA NOP 68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C |
08 PHP 48 PHA A9 LDA #40 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP 10 F9 BPL *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
26 00 ROL $00 66 00 ROR $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
12 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only EA NOP EA NOP EA NOP 30 F9 BMI *-5 68 PLA 28 PLP |
Writes in stack |
21 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
23 bytes | |
EA NOP A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EB BPL *-19 |
Clobbers A, and Z&N |
82 cycles
5 bytes | |
---|---|
A9 LDA #55 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 88 LDY #136 ;hides 'DEY' 48 PHA 30 FC BMI *-2 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 09 LDX #9 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
A0 09 LDY #9 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
A2 09 LDX #9 EA NOP EA NOP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N |
A0 09 LDY #9 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #48 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #48 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
68 PLA 38 SEC A9 0F LDA #15 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
98 TYA 48 PHA A0 0E LDY #14 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 0E LDY #14 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 0E LDX #14 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 38 SEC A9 0B LDA #11 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
04 00 NOP $00 A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #41 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
21 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
23 bytes | |
68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EC BPL *-18 |
Clobbers A, and Z&N |
83 cycles
5 bytes | |
---|---|
A9 LDA #56 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 10 LDY #16 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 10 LDX #16 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A0 0F LDY #15 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0F LDX #15 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #49 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #49 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and requires @zptemp |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes |
9 bytes | |
20 xx xx JSR @rts12 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
68 PLA 68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #42 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
08 PHP E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
48 PHA 08 PHP 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
00 00 BRK 0 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 28 PLP |
Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC 10 FA BPL *-4 68 PLA 28 PLP |
Writes in stack |
21 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
23 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EA BPL *-20 |
Clobbers A, and Z&N |
84 cycles
5 bytes | |
---|---|
A9 LDA #57 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A2 10 LDX #16 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 10 LDY #16 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 10 LDX #16 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 10 LDY #16 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
68 PLA 68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only 30 FC BMI *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #50 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #50 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP E6 xx INC @zptemp 28 PLP 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires @zptemp; and writes in stack |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 08 PHP 28 PLP 18 CLC 10 F9 BPL *-5 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP 18 CLC 10 F8 BPL *-6 |
Clobbers A, Z&N, and C; and writes in stack |
38 SEC A9 09 LDA #9 EA NOP EA NOP E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
48 PHA 48 PHA 08 PHP A2 0E LDX #14 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A0 0E LDY #14 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
08 PHP 48 PHA A9 LDA #43 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 98 TYA 48 PHA A0 0E LDY #14 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A2 0E LDX #14 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A0 0E LDY #14 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 10 F7 BPL *-7 |
Clobbers A, Z&N, and C |
08 PHP A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 20 xx xx JSR @rts14 10 F9 BPL *-5 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 20 xx xx JSR @rts14 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, C, V, and D; requires @rts14; and writes in stack |
48 PHA 48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$EA' EA NOP ;first loop only 20 xx xx JSR @rts14 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 0D LDY #13 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
21 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
24 bytes | |
68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA 68 PLA 48 PHA |
Clobbers A, and Z&N |
85 cycles
5 bytes | |
---|---|
A9 LDA #58 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 0C LDY #12 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 0C LDX #12 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
7 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #51 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #51 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 0B LDX #11 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0B LDY #11 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP 08 PHP 28 PLP D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 0F LDA #15 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 0F LDA #15 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and requires @zptemp |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #44 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
22 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
24 bytes | |
EA NOP A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EA BPL *-20 |
Clobbers A, and Z&N |
86 cycles
5 bytes | |
---|---|
A2 11 LDX #17 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 11 LDY #17 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 LDA #59 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A9 LDA #52 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #52 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 88 LDY #136 ;hides 'DEY' C5 00 CMP $00 30 FB BMI *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
48 PHA 08 PHP A2 0F LDX #15 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 28 PLP |
Clobbers A; and writes in stack |
08 PHP A6 00 LDX $00 A2 0F LDX #15 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
A5 00 LDA $00 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #45 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and not relocatable code |
68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
11 bytes | |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 10 FD BPL *-1 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
12 bytes | |
EA NOP 48 PHA 98 TYA 48 PHA A0 0D LDY #13 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
00 00 BRK 0 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 10 FB BPL *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC 10 FA BPL *-4 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 0D LDA #13 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
22 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
24 bytes | |
68 PLA 48 PHA A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 EB BPL *-19 |
Clobbers A, and Z&N |
87 cycles
5 bytes | |
---|---|
A9 LDA #60 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
A0 F8 LDY #248 ;hides 'SED' 68 PLA C8 INY D0 FB BNE *-3 |
Clobbers A, Y, S, Z&N, and D |
A2 F8 LDX #248 ;hides 'SED' 68 PLA E8 INX D0 FB BNE *-3 |
Clobbers A, X, S, Z&N, and D |
7 bytes | |
EA NOP A0 0C LDY #12 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP A2 0C LDX #12 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
08 PHP A9 LDA #53 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #53 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 88 LDX #136 ;hides 'DEY' EA NOP CA DEX 30 FB BMI *-3 28 PLP |
Clobbers X, and Y; and writes in stack |
9 bytes | |
98 TYA 48 PHA A0 0F LDY #15 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP 08 PHP A0 0B LDY #11 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 0B LDX #11 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP 48 PHA A9 LDA #46 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 0B LDA #11 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 0B LDA #11 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
22 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
24 bytes | |
A9 09 LDA #$09 ;hides 'ORA #$EA' EA NOP ;first loop only EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 10 E9 BPL *-21 |
Clobbers A, and Z&N |
88 cycles
5 bytes | |
---|---|
A9 LDA #61 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 11 LDX #17 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 11 LDY #17 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A0 10 LDY #16 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 10 LDX #16 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #54 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #54 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 |
Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack |
9 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
08 PHP A9 69 LDA #$69 ;hides 'ADC #$18' 18 CLC ;first loop only E6 xx INC @zptemp 90 FA BCC *-4 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
48 PHA A9 69 LDA #$69 ;hides 'ADC #$18' 18 CLC ;first loop only E6 xx INC @zptemp 90 FA BCC *-4 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp; and writes in stack |
EA NOP 48 PHA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 18 CLC D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 30 FA BMI *-4 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 30 FA BMI *-4 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #47 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires support for unofficial opcodes |
11 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 4C xx xx JMP *+3 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and not relocatable code |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA 28 PLP |
Clobbers S; and writes in stack |
EA NOP 68 PLA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, S, Z&N, and C |
12 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP 10 F9 BPL *-5 68 PLA 28 PLP |
Writes in stack |
26 00 ROL $00 66 00 ROR $00 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 |
Clobbers A, Z&N, and C |
22 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
89 cycles
5 bytes | |
---|---|
A0 88 LDY #136 ;hides 'DEY' 68 PLA 30 FC BMI *-2 |
Clobbers A, Y, S, and Z&N |
A9 LDA #62 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 88 LDY #136 ;hides 'DEY' EA NOP EA NOP 30 FB BMI *-3 |
Clobbers Y, and Z&N |
A2 0A LDX #10 ;hides 'ASL A' EA NOP CA DEX D0 FB BNE *-3 |
Clobbers A, X, Z&N, and C |
A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
A2 0B LDX #11 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 11 LDX #17 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #55 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #55 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP A2 09 LDX #9 EA NOP EA NOP CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 09 LDY #9 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
08 PHP 48 PHA A9 LDA #48 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
98 TYA 48 PHA A0 0B LDY #11 EA NOP 88 DEY D0 FA BNE *-4 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; requires @zptemp; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 0E LDY #14 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP 08 PHP 38 SEC A9 0B LDA #11 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
23 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
90 cycles
5 bytes | |
---|---|
A9 LDA #63 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A2 11 LDX #17 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 11 LDY #17 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
EA NOP EA NOP A2 11 LDX #17 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 11 LDY #17 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #56 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #56 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A0 10 LDY #16 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 10 LDX #16 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
48 PHA 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #49 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
20 xx xx JSR @rts12 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
12 bytes | |
36 00 ROL $00,X 76 00 ROR $00,X 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
08 PHP E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
48 PHA 08 PHP 48 PHA 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
00 00 BRK 0 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 D0 FB BNE *-3 68 PLA 28 PLP |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
13 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP 10 F9 BPL *-5 68 PLA 28 PLP |
Writes in stack |
23 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
91 cycles
5 bytes | |
---|---|
A0 12 LDY #18 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 12 LDX #18 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #64 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP EA NOP 30 FA BMI *-4 |
Clobbers A, Z&N, C, and V |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #57 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #57 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
48 PHA 08 PHP A0 10 LDY #16 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 10 LDX #16 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 28 PLP |
Clobbers A; requires @rts12; and writes in stack |
08 PHP A6 00 LDX $00 A2 10 LDX #16 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 10 LDY #16 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #50 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP E6 xx INC @zptemp 28 PLP 10 F9 BPL *-5 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP E6 xx INC @zptemp 28 PLP 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
00 00 BRK 0 08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA 98 TYA 48 PHA A0 0F LDY #15 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, S, and Z&N; and writes in stack |
48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 30 FA BMI *-4 28 PLP |
Clobbers A, and S; requires support for unofficial opcodes; and writes in stack |
48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 30 FA BMI *-4 68 PLA |
Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 38 SEC A9 09 LDA #9 EA NOP EA NOP E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP 18 CLC 10 F8 BPL *-6 68 PLA |
Clobbers Z&N, and C; and writes in stack |
12 bytes | |
EA NOP 48 PHA 98 TYA 48 PHA A0 0E LDY #14 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$D8' D8 CLD ;first loop only 20 xx xx JSR @rts14 10 F9 BPL *-5 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 0E LDA #14 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
23 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
92 cycles
5 bytes | |
---|---|
A9 LDA #65 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 0D LDX #13 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 0D LDY #13 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
7 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #58 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #58 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 0C LDY #12 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0C LDX #12 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
A9 2A LDA #$2A ;hides 'ROL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
68 PLA 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP B0 FA BCS *-4 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP B0 FA BCS *-4 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP EA NOP 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and requires @zptemp |
08 PHP 48 PHA A9 LDA #51 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP 08 PHP 28 PLP D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 0F LDA #15 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
23 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
93 cycles
5 bytes | |
---|---|
A9 LDA #66 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 12 LDY #18 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 12 LDX #18 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A0 11 LDY #17 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 11 LDX #17 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #59 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #59 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C |
08 PHP 48 PHA A9 LDA #52 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 28 PLP |
Clobbers A; requires @rts12; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 68 PLA 28 PLP |
Writes in stack |
24 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
94 cycles
5 bytes | |
---|---|
A9 LDA #67 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 12 LDY #18 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 12 LDX #18 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 12 LDX #18 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 12 LDY #18 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
08 PHP A9 LDA #60 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #60 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; and writes in stack |
38 SEC A9 0D LDA #13 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A2 0C LDX #12 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 0C LDY #12 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #53 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 0F LDY #15 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
12 bytes | |
08 PHP 48 PHA 38 SEC A9 0B LDA #11 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
24 bytes | |
EA NOP 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
95 cycles
5 bytes | |
---|---|
A9 LDA #68 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and writes in stack |
68 PLA A0 12 LDY #18 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 12 LDX #18 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP EA NOP A0 12 LDY #18 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 12 LDX #18 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP A9 LDA #61 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #61 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A0 11 LDY #17 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 11 LDX #17 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #54 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$18' 18 CLC ;first loop only E6 xx INC @zptemp 90 FA BCC *-4 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 30 FA BMI *-4 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 68 PLA 28 PLP |
Writes in stack |
24 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 48 PHA |
Clobbers A, S, and Z&N |
96 cycles
5 bytes | |
---|---|
A0 13 LDY #19 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 13 LDX #19 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #69 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A9 LDA #62 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #62 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 88 LDY #136 ;hides 'DEY' EA NOP EA NOP 30 FB BMI *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0A LDX #10 ;hides 'ASL A' EA NOP CA DEX D0 FB BNE *-3 28 PLP |
Clobbers A, and X; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A2 11 LDX #17 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP A2 0B LDX #11 24 00 BIT $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; and writes in stack |
A5 00 LDA $00 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #55 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC D0 FC BNE *-2 |
Clobbers A, Z&N, and C |
12 bytes | |
48 PHA 98 TYA 48 PHA A0 0B LDY #11 EA NOP 88 DEY D0 FA BNE *-4 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 0B LDA #11 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
24 bytes | |
68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA 68 PLA |
Clobbers A, S, and Z&N |
97 cycles
5 bytes | |
---|---|
A9 LDA #70 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 0C LDY #12 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 0C LDX #12 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A0 08 LDY #8 08 PHP 28 PLP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N; and writes in stack |
A2 08 LDX #8 08 PHP 28 PLP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N; and writes in stack |
A2 0C LDX #12 A5 00 LDA $00 CA DEX D0 F9 BNE *-5 |
Clobbers A, X, and Z&N |
A0 0C LDY #12 A5 00 LDA $00 88 DEY D0 F9 BNE *-5 |
Clobbers A, Y, and Z&N |
A2 0C LDX #12 A4 00 LDY $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, Y, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and writes in stack |
A2 0C LDX #12 C5 00 CMP $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, Z&N, and C |
A0 0C LDY #12 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, Z&N, and C |
A0 0C LDY #12 24 00 BIT $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, Z&N, and V |
A2 0C LDX #12 24 00 BIT $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, Z&N, and V |
A0 0C LDY #12 85 xx STA @zptemp 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N; and requires @zptemp |
A2 0C LDX #12 85 xx STA @zptemp CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N; and requires @zptemp |
A2 0C LDX #12 04 00 NOP $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
A0 0C LDY #12 04 00 NOP $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
08 PHP A9 LDA #63 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #63 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A0 12 LDY #18 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP EA NOP A2 12 LDX #18 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 69 LDA #$69 ;hides 'ADC #$18' 18 CLC ;first loop only EA NOP E6 xx INC @zptemp 90 F9 BCC *-5 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
68 PLA 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
98 TYA 48 PHA A0 11 LDY #17 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A2 11 LDX #17 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 11 LDY #17 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #56 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
98 cycles
5 bytes | |
---|---|
A9 LDA #71 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 13 LDX #19 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 13 LDY #19 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A0 12 LDY #18 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 12 LDX #18 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #64 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #64 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and writes in stack |
9 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP EA NOP 30 FA BMI *-4 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP EA NOP 30 FA BMI *-4 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #57 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 68 PLA 28 PLP |
Requires @rts12; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP E6 xx INC @zptemp 28 PLP 10 F9 BPL *-5 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
00 00 BRK 0 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 30 FA BMI *-4 68 PLA 28 PLP |
Clobbers S; requires support for unofficial opcodes; and writes in stack |
13 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP 18 CLC 10 F8 BPL *-6 68 PLA 28 PLP |
Writes in stack |
99 cycles
5 bytes | |
---|---|
A9 LDA #72 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 0E LDX #14 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 0E LDY #14 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
7 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #65 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #65 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 0D LDX #13 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0D LDY #13 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and writes in stack |
9 bytes | |
38 SEC A9 0C LDA #12 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 28 PLP |
Clobbers A, and S; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA |
Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #58 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 98 TYA 48 PHA A0 11 LDY #17 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
08 PHP A9 2A LDA #$2A ;hides 'ROL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 2A LDA #$2A ;hides 'ROL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP B0 FA BCS *-4 68 PLA 28 PLP |
Writes in stack |
100 cycles
5 bytes | |
---|---|
A9 LDA #73 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 0B LDY #11 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
A2 0B LDX #11 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
7 bytes | |
A2 0B LDX #11 EA NOP EA NOP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N |
A0 0B LDY #11 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #66 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #66 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 12 LDX #18 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 12 LDY #18 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires @zptemp; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #59 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
11 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 10 FA BPL *-4 68 PLA 28 PLP |
Requires @rts12; and writes in stack |
EA NOP EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
48 PHA 08 PHP 48 PHA 38 SEC A9 10 LDA #16 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' B8 CLV 50 00 BVC *+2 D0 FA BNE *-4 68 PLA 28 PLP |
Writes in stack |
101 cycles
5 bytes | |
---|---|
A2 14 LDX #20 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 14 LDY #20 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 LDA #74 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP 48 PHA 30 FA BMI *-4 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #67 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #67 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
38 SEC A9 0E LDA #14 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC 10 FA BPL *-4 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A2 12 LDX #18 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 12 LDY #18 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 12 LDX #18 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 12 LDY #18 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
08 PHP 48 PHA A9 LDA #60 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 0D LDA #13 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA 28 PLP |
Writes in stack |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
102 cycles
5 bytes | |
---|---|
A9 LDA #75 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
48 PHA A0 0E LDY #14 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 0E LDX #14 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
EA NOP A0 0B LDY #11 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
EA NOP A2 0B LDX #11 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
08 PHP A9 LDA #68 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #68 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 28 PLP |
Clobbers A; and writes in stack |
A6 00 LDX $00 A2 0E LDX #14 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 0E LDY #14 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
68 PLA 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
EA NOP EA NOP 08 PHP A2 12 LDX #18 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 12 LDY #18 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 0B LDA #11 EA NOP EA NOP E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #61 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
103 cycles
5 bytes | |
---|---|
A9 LDA #76 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 14 LDX #20 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 14 LDY #20 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A0 13 LDY #19 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 13 LDX #19 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #69 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #69 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
9 bytes | |
08 PHP 48 PHA A9 LDA #62 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
98 TYA 48 PHA A0 0D LDY #13 EA NOP 88 DEY D0 FA BNE *-4 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP A5 00 LDA $00 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 68 PLA 28 PLP |
Writes in stack |
104 cycles
5 bytes | |
---|---|
A9 LDA #77 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A2 14 LDX #20 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 14 LDY #20 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 14 LDX #20 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 14 LDY #20 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 00 00 BRK 0 10 FA BPL *-4 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #70 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #70 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP 48 PHA 30 FA BMI *-4 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
9 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 0C LDY #12 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0C LDX #12 24 00 BIT $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP 68 PLA 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #63 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
A5 00 LDA $00 38 SEC A9 0E LDA #14 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 11 LDY #17 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
105 cycles
5 bytes | |
---|---|
A9 LDA #78 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 0D LDY #13 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 0D LDX #13 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
68 PLA A0 14 LDY #20 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 14 LDX #20 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP EA NOP A2 14 LDX #20 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 14 LDY #20 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #71 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #71 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A0 13 LDY #19 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 13 LDX #19 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
48 PHA 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #64 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP EA NOP 30 FA BMI *-4 68 PLA 28 PLP |
Writes in stack |
106 cycles
5 bytes | |
---|---|
A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #79 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only EA NOP 30 FB BMI *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
08 PHP A9 LDA #72 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #72 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 0E LDX #14 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0E LDY #14 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 10 FA BPL *-4 28 PLP |
Clobbers A; requires @rts15; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
A5 00 LDA $00 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC 10 FA BPL *-4 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
08 PHP 48 PHA A9 LDA #65 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
11 bytes | |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA 28 PLP |
Clobbers S; requires dummy interrupt handler; and writes in stack |
12 bytes | |
EA NOP 48 PHA 98 TYA 48 PHA A0 11 LDY #17 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP 48 PHA A9 2A LDA #$2A ;hides 'ROL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 11 LDA #17 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
107 cycles
5 bytes | |
---|---|
A9 LDA #80 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 18 LDY #24 ;hides 'CLC' 88 DEY 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 18 LDX #24 ;hides 'CLC' CA DEX CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A9 LDA #73 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #73 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
68 PLA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
8C TXA 48 PHA A2 13 LDX #19 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP A2 0B LDX #11 EA NOP EA NOP CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0B LDY #11 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 0D LDA #13 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C |
08 PHP 48 PHA A9 LDA #66 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
EA NOP 48 PHA 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
108 cycles
5 bytes | |
---|---|
A9 LDA #81 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A2 14 LDX #20 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 14 LDY #20 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #74 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #74 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #67 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 0E LDA #14 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
48 PHA 38 SEC A9 0E LDA #14 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC 10 FA BPL *-4 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
11 bytes | |
EA NOP EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 68 PLA 28 PLP |
Writes in stack |
109 cycles
5 bytes | |
---|---|
A9 LDA #82 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
A2 0C LDX #12 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
A0 0C LDY #12 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
A6 00 LDX $00 A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 00 00 BRK 0 30 FA BMI *-4 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only EA NOP 30 FB BMI *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 00 00 BRK 0 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
08 PHP A9 LDA #75 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #75 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 00 00 BRK 0 18 CLC 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts14 10 F9 BPL *-5 |
Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack |
18 CLC A9 F4 LDA #244 ;hides 'NOP zp,X' EA NOP 69 01 ADC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
9 bytes | |
20 xx xx JSR @rts14 A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
48 PHA 08 PHP A2 0E LDX #14 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 0E LDY #14 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y, and S; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 08 PHP 28 PLP 08 PHP 28 PLP 10 F8 BPL *-6 |
Clobbers A, S, Z&N, and C; and writes in stack |
EA NOP 68 PLA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #68 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
EA NOP 38 SEC A9 0D LDA #13 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C |
11 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
110 cycles
5 bytes | |
---|---|
A9 LDA #83 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
EA NOP EA NOP A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only EA NOP 30 FB BMI *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #76 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #76 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A0 14 LDY #20 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 14 LDX #20 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #69 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
12 bytes | |
48 PHA 98 TYA 48 PHA A0 0D LDY #13 EA NOP 88 DEY D0 FA BNE *-4 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 10 FA BPL *-4 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 10 FB BPL *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA 38 SEC A9 12 LDA #18 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP 10 F9 BPL *-5 68 PLA 28 PLP |
Writes in stack |
111 cycles
5 bytes | |
---|---|
A0 16 LDY #22 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 16 LDX #22 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
7 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and writes in stack |
08 PHP A9 LDA #77 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #77 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
48 PHA 08 PHP A0 14 LDY #20 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 14 LDX #20 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 14 LDX #20 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 14 LDY #20 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
08 PHP 48 PHA A9 LDA #70 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC 10 F9 BPL *-5 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 10 F9 BPL *-5 28 PLP |
Clobbers A; requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
68 PLA 8C TXA 48 PHA A2 13 LDX #19 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 10 F9 BPL *-5 28 PLP |
Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
11 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
112 cycles
5 bytes | |
---|---|
A9 LDA #85 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
48 PHA 48 PHA A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA 48 PHA A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
EA NOP 68 PLA A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP 68 PLA A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
08 PHP A9 LDA #78 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #78 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A2 15 LDX #21 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP EA NOP A0 15 LDY #21 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
68 PLA 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 00 00 BRK 0 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
9 bytes | |
98 TYA 48 PHA A0 14 LDY #20 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
08 PHP A2 0D LDX #13 24 00 BIT $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 0D LDY #13 24 00 BIT $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #71 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC D0 FB BNE *-3 |
Clobbers A, Z&N, and C |
113 cycles
5 bytes | |
---|---|
A9 LDA #86 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 10 LDY #16 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 10 LDX #16 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
7 bytes | |
08 PHP A0 15 LDY #21 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 15 LDX #21 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A9 LDA #79 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #79 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and writes in stack |
9 bytes | |
08 PHP 48 PHA A9 LDA #72 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 10 FA BPL *-4 68 PLA 28 PLP |
Requires @rts15; and writes in stack |
08 PHP A5 00 LDA $00 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
24 00 BIT $00 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC 10 FA BPL *-4 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
12 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
114 cycles
5 bytes | |
---|---|
A9 LDA #87 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 16 LDY #22 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 16 LDX #22 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
A4 00 LDY $00 A0 16 LDY #22 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 16 LDX #22 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A5 00 LDA $00 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #80 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #80 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 18 LDY #24 ;hides 'CLC' 88 DEY 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 18 LDX #24 ;hides 'CLC' CA DEX CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #73 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 98 TYA 48 PHA A0 14 LDY #20 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 13 LDX #19 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP 38 SEC A9 0D LDA #13 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 13 LDA #19 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
115 cycles
5 bytes | |
---|---|
A9 LDA #88 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 16 LDY #22 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 16 LDX #22 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V |
7 bytes | |
EA NOP A0 10 LDY #16 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP A2 10 LDX #16 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #81 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #81 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 15 LDX #21 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 15 LDY #21 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 20 xx xx JSR @rts14 D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #74 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C |
11 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
12 bytes | |
08 PHP 48 PHA 38 SEC A9 0E LDA #14 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
116 cycles
5 bytes | |
---|---|
A0 17 LDY #23 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 17 LDX #23 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
7 bytes | |
08 PHP A9 LDA #82 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #82 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
48 PHA 08 PHP A0 15 LDY #21 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 15 LDX #21 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 15 LDX #21 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 15 LDY #21 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @zptemp; and writes in stack |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 00 00 BRK 0 30 FA BMI *-4 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 00 00 BRK 0 30 FA BMI *-4 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 00 00 BRK 0 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #75 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 18 CLC 10 F9 BPL *-5 28 PLP |
Clobbers A; requires @rts15; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 18 CLC 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 00 00 BRK 0 18 CLC 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA 98 TYA 48 PHA A0 14 LDY #20 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, S, and Z&N; and writes in stack |
08 PHP 18 CLC A9 F4 LDA #244 ;hides 'NOP zp,X' EA NOP 69 01 ADC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
48 PHA 18 CLC A9 F4 LDA #244 ;hides 'NOP zp,X' EA NOP 69 01 ADC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
8C TXA 48 PHA A2 0D LDX #13 A5 00 LDA $00 CA DEX D0 F9 BNE *-5 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
20 xx xx JSR @rts14 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
20 xx xx JSR @rts14 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; and requires @zptemp |
48 PHA 48 PHA 08 PHP 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
12 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
117 cycles
5 bytes | |
---|---|
A9 LDA #90 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A2 0D LDX #13 ;hides 'ORA abs' A5 00 LDA $0 CA DEX D0 FA BNE *-4 |
Clobbers A, X, and Z&N |
A0 0D LDY #13 ;hides 'ORA abs' A5 00 LDA $0 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, and Z&N |
48 PHA 48 PHA A0 16 LDY #22 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA 48 PHA A2 16 LDX #22 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
EA NOP 68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V |
08 PHP A9 LDA #83 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #83 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP A2 10 LDX #16 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 10 LDY #16 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
9 bytes | |
98 TYA 48 PHA A0 15 LDY #21 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 15 LDY #21 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 15 LDX #21 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP 48 PHA A9 LDA #76 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C |
12 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
118 cycles
5 bytes | |
---|---|
A9 LDA #91 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 17 LDX #23 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 17 LDY #23 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
7 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 16 LDY #22 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 16 LDX #22 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
9 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #77 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
12 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC 10 F9 BPL *-5 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 10 F9 BPL *-5 68 PLA 28 PLP |
Requires @zptemp, and dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 10 F9 BPL *-5 68 PLA 28 PLP |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
13 bytes | |
EA NOP 08 PHP 28 PLP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
119 cycles
5 bytes | |
---|---|
A9 LDA #92 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 88 LDY #136 ;hides 'DEY' 08 PHP 28 PLP 30 FB BMI *-3 |
Clobbers Y, and Z&N; and writes in stack |
A0 88 LDY #136 ;hides 'DEY' 68 PLA 48 PHA 30 FB BMI *-3 |
Clobbers A, Y, and Z&N |
48 PHA A2 17 LDX #23 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 17 LDX #23 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 17 LDY #23 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A5 00 LDA $00 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 08 PHP 28 PLP D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP A9 LDA #85 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #85 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and writes in stack |
9 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
48 PHA 48 PHA 08 PHP A0 15 LDY #21 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A2 15 LDX #21 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
08 PHP 48 PHA A9 LDA #78 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 98 TYA 48 PHA A0 15 LDY #21 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A0 15 LDY #21 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A2 15 LDX #21 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 00 00 BRK 0 30 FA BMI *-4 28 PLP |
Clobbers A, and S; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 00 00 BRK 0 30 FA BMI *-4 68 PLA |
Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 00 00 BRK 0 D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 14 LDY #20 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
120 cycles
5 bytes | |
---|---|
A9 LDA #93 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 11 LDX #17 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 11 LDY #17 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, S, Z&N, C, and V |
7 bytes | |
EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #86 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #86 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 10 LDY #16 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 10 LDX #16 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP 48 PHA A9 LDA #79 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
12 bytes | |
EA NOP 68 PLA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
48 PHA 08 PHP 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
08 PHP 24 00 BIT $00 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
121 cycles
5 bytes | |
---|---|
A0 18 LDY #24 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 18 LDX #24 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #94 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 08 PHP 28 PLP 30 FA BMI *-4 |
Clobbers A, Z&N, C, and V; and writes in stack |
E6 xx INC @zptemp A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
08 PHP A9 LDA #87 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #87 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A5 00 LDA $00 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V |
48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 08 PHP A2 16 LDX #22 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 16 LDY #22 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 20 xx xx JSR @rts15 D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP 00 00 BRK 0 D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
9 bytes | |
08 PHP A5 00 LDA $00 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A6 00 LDX $00 A2 16 LDX #22 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 16 LDY #22 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
24 00 BIT $00 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #80 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
11 bytes | |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
12 bytes | |
EA NOP 48 PHA 98 TYA 48 PHA A0 14 LDY #20 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
122 cycles
5 bytes | |
---|---|
A9 LDA #95 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
EA NOP A2 11 LDX #17 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A0 11 LDY #17 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP 68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, S, Z&N, C, and V |
08 PHP A9 LDA #88 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #88 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
68 PLA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
9 bytes | |
EA NOP EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A2 10 LDX #16 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 10 LDY #16 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #81 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 20 xx xx JSR @rts14 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
123 cycles
5 bytes | |
---|---|
A9 LDA #96 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 18 LDY #24 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 18 LDX #24 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 17 LDY #23 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 17 LDX #23 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
38 SEC A9 18 LDA #24 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 48 PHA A9 LDA #82 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C |
11 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 00 00 BRK 0 30 FA BMI *-4 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 18 CLC 10 F9 BPL *-5 68 PLA 28 PLP |
Requires @rts15; and writes in stack |
EA NOP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; and writes in stack |
08 PHP 48 PHA 18 CLC A9 F4 LDA #244 ;hides 'NOP zp,X' EA NOP 69 01 ADC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
13 bytes | |
48 PHA 8C TXA 48 PHA A2 0D LDX #13 A5 00 LDA $00 CA DEX D0 F9 BNE *-5 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
20 xx xx JSR @rts14 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP D0 FB BNE *-3 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
14 bytes | |
EA NOP EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 14 LDA #20 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
124 cycles
4 bytes | |
---|---|
A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers X, and Z&N |
5 bytes | |
A9 LDA #97 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 18 LDY #24 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
7 bytes | |
A4 00 LDY $00 A0 18 LDY #24 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
00 00 BRK 0 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, S, Z&N, C, and V |
08 PHP A9 LDA #90 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #90 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 00 00 BRK 0 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP A2 0D LDX #13 ;hides 'ORA abs' A5 00 LDA $0 CA DEX D0 FA BNE *-4 28 PLP |
Clobbers A, and X; and writes in stack |
08 PHP A0 0D LDY #13 ;hides 'ORA abs' A5 00 LDA $0 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers A, and Y; and writes in stack |
EA NOP 38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
48 PHA 48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A2 16 LDX #22 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A0 16 LDY #22 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #83 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP EA NOP EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 08 PHP A2 10 LDX #16 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 10 LDY #16 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 15 LDY #21 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; and requires @zptemp |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
125 cycles
5 bytes | |
---|---|
A9 LDA #98 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 18 LDY #24 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 18 LDX #24 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP EA NOP A2 18 LDX #24 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 18 LDY #24 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #91 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #91 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A2 17 LDX #23 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 17 LDY #23 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 38 SEC A9 18 LDA #24 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
11 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C |
12 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
126 cycles
5 bytes | |
---|---|
A2 19 LDX #25 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 19 LDY #25 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 LDA #99 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A9 LDA #92 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #92 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 88 LDY #136 ;hides 'DEY' 08 PHP 28 PLP 30 FB BMI *-3 28 PLP |
Clobbers Y; and writes in stack |
20 xx xx JSR @rts15 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; requires @rts15; and writes in stack |
EA NOP 00 00 BRK 0 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 08 PHP A2 17 LDX #23 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
EA NOP 68 PLA 68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
08 PHP A5 00 LDA $00 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A6 00 LDX $00 A2 17 LDX #23 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
24 00 BIT $00 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
A5 00 LDA $00 38 SEC A9 18 LDA #24 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #85 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 24 00 BIT $00 28 PLP D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
11 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
12 bytes | |
EA NOP 48 PHA 98 TYA 48 PHA A0 15 LDY #21 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$18' 18 CLC ;first loop only 00 00 BRK 0 30 FA BMI *-4 68 PLA 28 PLP |
Clobbers S; requires dummy interrupt handler; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 15 LDA #21 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
127 cycles
5 bytes | |
---|---|
48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers X, S, and Z&N; and writes in stack |
A9 LDA #100 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 12 LDX #18 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 12 LDY #18 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
7 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 00 00 BRK 0 B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #93 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #93 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 11 LDX #17 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 11 LDY #17 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and writes in stack |
68 PLA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
68 PLA 38 SEC A9 18 LDA #24 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
EA NOP EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP EA NOP 38 SEC A9 18 LDA #24 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #86 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
128 cycles
5 bytes | |
---|---|
68 PLA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers A, X, S, and Z&N |
A9 LDA #101 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 19 LDX #25 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 19 LDY #25 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A2 18 LDX #24 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 18 LDY #24 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #94 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #94 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 08 PHP 28 PLP 30 FA BMI *-4 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 08 PHP 28 PLP 30 FA BMI *-4 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #87 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 20 xx xx JSR @rts15 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP 00 00 BRK 0 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 24 00 BIT $00 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C |
129 cycles
5 bytes | |
---|---|
A9 LDA #102 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
E6 xx INC @zptemp A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers X, and Z&N; and requires @zptemp |
A2 10 LDX #16 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
A0 10 LDY #16 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
A0 88 LDY #136 ;hides 'DEY' 68 PLA 68 PLA 30 FB BMI *-3 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
A6 00 LDX $00 A2 19 LDX #25 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 19 LDY #25 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
00 00 BRK 0 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #95 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #95 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
38 SEC A9 12 LDA #18 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
9 bytes | |
EA NOP 08 PHP A2 11 LDX #17 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 11 LDY #17 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA 48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #88 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
130 cycles
5 bytes | |
---|---|
A9 LDA #103 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA 48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers X, S, and Z&N; and writes in stack |
68 PLA A2 19 LDX #25 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 19 LDY #25 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
EA NOP EA NOP A0 19 LDY #25 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 19 LDX #25 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP A9 LDA #96 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #96 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 18 LDX #24 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 18 LDY #24 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
131 cycles
5 bytes | |
---|---|
A0 1A LDY #26 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 1A LDX #26 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #104 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
08 PHP A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 28 PLP |
Clobbers X; and writes in stack |
7 bytes | |
08 PHP A9 LDA #97 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #97 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
20 xx xx JSR @rts15 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V; requires @rts15; and writes in stack |
EA NOP 00 00 BRK 0 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A0 18 LDY #24 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
38 SEC A9 10 LDA #16 48 PHA E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP A4 00 LDY $00 A0 18 LDY #24 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 10 LDA #16 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
00 00 BRK 0 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
08 PHP 48 PHA A9 LDA #90 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
8C TXA 48 PHA A2 11 LDX #17 EA NOP CA DEX D0 FA BNE *-4 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 00 00 BRK 0 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A, and S; and writes in stack |
EA NOP 48 PHA 48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
11 bytes | |
EA NOP 08 PHP 38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, S, Z&N, and C |
12 bytes | |
EA NOP EA NOP EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
132 cycles
5 bytes | |
---|---|
A9 LDA #105 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA 68 PLA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers A, X, S, and Z&N |
7 bytes | |
BA TSX 68 PLA 9A TXS A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers A, X, and Z&N |
48 PHA A2 10 LDX #16 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 10 LDY #16 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
EA NOP 68 PLA A0 19 LDY #25 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
08 PHP A9 LDA #98 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #98 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A2 19 LDX #25 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP EA NOP A0 19 LDY #25 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
68 PLA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
8C TXA 48 PHA A2 18 LDX #24 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 18 LDY #24 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 18 LDX #24 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #91 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C; and requires @zptemp |
13 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
133 cycles
5 bytes | |
---|---|
A9 LDA #106 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 1A LDY #26 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 1A LDX #26 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A0 19 LDY #25 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 19 LDX #25 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #99 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #99 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP 20 xx xx JSR @rts15 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP EA NOP 00 00 BRK 0 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 48 PHA 20 xx xx JSR @rts14 D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C; requires @rts14, and support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #92 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
20 xx xx JSR @rts15 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires @rts15; and writes in stack |
20 xx xx JSR @rts15 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires @rts15; and writes in stack |
EA NOP 00 00 BRK 0 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
EA NOP 00 00 BRK 0 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 85 xx STA @zptemp 20 xx xx JSR @rts14 D0 F7 BNE *-7 |
Clobbers A, Z&N, and C; requires @zptemp, @rts14, and support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 24 00 BIT $00 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, S, Z&N, and C |
13 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
134 cycles
5 bytes | |
---|---|
A9 LDA #107 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 13 LDX #19 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 13 LDY #19 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
7 bytes | |
48 PHA 08 PHP A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 28 PLP |
Clobbers X, and S; and writes in stack |
08 PHP A9 LDA #100 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #100 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 12 LDX #18 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 12 LDY #18 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 20 xx xx JSR @rts14 B0 F9 BCS *-5 |
Clobbers A, Z&N, C, and V; requires @rts14; and writes in stack |
9 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 20 xx xx JSR @rts15 10 F8 BPL *-6 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP 08 PHP 28 PLP B0 F8 BCS *-6 |
Clobbers A, Z&N, C, and V; and writes in stack |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 00 00 BRK 0 B0 FA BCS *-4 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 00 00 BRK 0 B0 FA BCS *-4 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
EA NOP 68 PLA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #93 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
EA NOP EA NOP EA NOP 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
11 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
135 cycles
5 bytes | |
---|---|
A9 LDA #108 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 1A LDY #26 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 1A LDX #26 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP EA NOP A0 1A LDY #26 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 1A LDX #26 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
08 PHP A9 LDA #101 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #101 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
8C TXA 48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP 08 PHP A0 19 LDY #25 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 19 LDX #25 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #94 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
11 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 08 PHP 28 PLP 30 FA BMI *-4 68 PLA 28 PLP |
Writes in stack |
136 cycles
5 bytes | |
---|---|
A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #109 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$08' 08 PHP ;first loop only EA NOP EA NOP 30 FA BMI *-4 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #102 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #102 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
38 SEC A9 13 LDA #19 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
08 PHP E6 xx INC @zptemp A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 28 PLP |
Clobbers X; requires @zptemp; and writes in stack |
48 PHA 08 PHP A0 19 LDY #25 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 19 LDX #25 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A0 10 LDY #16 24 00 BIT $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 10 LDX #16 C5 00 CMP $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
00 00 BRK 0 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #95 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 12 LDA #18 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 12 LDA #18 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
12 bytes | |
08 PHP 48 PHA 38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' 18 CLC 90 00 BCC *+2 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
137 cycles
5 bytes | |
---|---|
A9 LDA #110 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
00 00 BRK 0 A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 |
Clobbers X, and Z&N; requires dummy interrupt handler; and writes in stack |
A2 11 LDX #17 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
A0 11 LDY #17 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
7 bytes | |
A2 11 LDX #17 A5 00 LDA $00 CA DEX D0 F9 BNE *-5 |
Clobbers A, X, and Z&N |
A0 11 LDY #17 A5 00 LDA $00 88 DEY D0 F9 BNE *-5 |
Clobbers A, Y, and Z&N |
A2 11 LDX #17 A4 00 LDY $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, Y, and Z&N |
A0 11 LDY #17 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, Z&N, and C |
A2 11 LDX #17 C5 00 CMP $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, Z&N, and C |
A2 11 LDX #17 24 00 BIT $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, Z&N, and V |
A0 11 LDY #17 24 00 BIT $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, Z&N, and V |
A0 11 LDY #17 85 xx STA @zptemp 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N; and requires @zptemp |
A2 11 LDX #17 85 xx STA @zptemp CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N; and requires @zptemp |
A0 11 LDY #17 04 00 NOP $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
A2 11 LDX #17 04 00 NOP $00 CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
08 PHP A9 LDA #103 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #103 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A4 00 LDY $00 A0 13 LDY #19 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 13 LDX #19 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
48 PHA 48 PHA 08 PHP A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 28 PLP |
Clobbers X, and S; and writes in stack |
68 PLA 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
98 TYA 48 PHA A0 19 LDY #25 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 19 LDY #25 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 19 LDX #25 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #96 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
138 cycles
5 bytes | |
---|---|
A9 LDA #111 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A2 1A LDX #26 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 1A LDY #26 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #104 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #104 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack |
9 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
48 PHA 8C TXA 48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
08 PHP 48 PHA A9 LDA #97 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
20 xx xx JSR @rts15 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; requires @rts15; and writes in stack |
98 TYA 48 PHA A0 12 LDY #18 EA NOP 88 DEY D0 FA BNE *-4 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
20 xx xx JSR @rts15 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; requires @rts15; and writes in stack |
EA NOP 00 00 BRK 0 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
EA NOP 00 00 BRK 0 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 38 SEC A9 10 LDA #16 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 10 LDA #16 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
00 00 BRK 0 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
12 bytes | |
48 PHA 8C TXA 48 PHA A2 11 LDX #17 EA NOP CA DEX D0 FA BNE *-4 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
EA NOP 48 PHA 48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 11 LDA #17 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
139 cycles
5 bytes | |
---|---|
A9 LDA #112 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A4 00 LDY $00 A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP A9 LDA #105 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #105 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack |
38 SEC A9 11 LDA #17 48 PHA E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP BA TSX 68 PLA 9A TXS A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 28 PLP |
Clobbers A, and X; and writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
38 SEC A9 11 LDA #17 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
68 PLA 8C TXA 48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
48 PHA 48 PHA 08 PHP A0 19 LDY #25 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A2 19 LDX #25 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
08 PHP 48 PHA A9 LDA #98 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 98 TYA 48 PHA A0 19 LDY #25 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A0 19 LDY #25 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A2 19 LDX #25 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
48 PHA 00 00 BRK 0 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 28 PLP |
Clobbers A, and S; requires dummy interrupt handler; and writes in stack |
48 PHA 00 00 BRK 0 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA |
Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 18 LDX #24 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, S, Z&N, and C |
12 bytes | |
EA NOP 08 PHP 28 PLP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
140 cycles
5 bytes | |
---|---|
A9 LDA #113 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP EA NOP A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #106 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #106 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 1A LDX #26 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 1A LDY #26 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #99 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP 20 xx xx JSR @rts15 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only EA NOP EA NOP 00 00 BRK 0 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
12 bytes | |
20 xx xx JSR @rts15 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires @rts15; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C; and requires @zptemp |
EA NOP 00 00 BRK 0 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 28 PLP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
48 PHA A9 4B LDA #$4B ;hides 'ASR #$7A' 7A NOP ;first loop only 85 xx STA @zptemp 20 xx xx JSR @rts14 D0 F7 BNE *-7 68 PLA |
Clobbers Z&N, and C; requires @zptemp, @rts14, and support for unofficial opcodes; and writes in stack |
13 bytes | |
08 PHP 24 00 BIT $00 28 PLP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Writes in stack |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
141 cycles
5 bytes | |
---|---|
A2 1C LDX #28 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 1C LDY #28 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 LDA #114 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A9 LDA #107 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #107 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 13 LDY #19 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 13 LDX #19 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP 08 PHP 28 PLP 30 F9 BMI *-5 |
Clobbers A, Z&N, C, and V; and writes in stack |
9 bytes | |
A5 00 LDA $00 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack |
08 PHP 48 PHA A9 LDA #100 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 20 xx xx JSR @rts14 B0 F9 BCS *-5 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 20 xx xx JSR @rts14 B0 F9 BCS *-5 68 PLA |
Clobbers Z&N, C, and V; requires @rts14; and writes in stack |
68 PLA 98 TYA 48 PHA A0 19 LDY #25 88 DEY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, S, and Z&N; and writes in stack |
11 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP 08 PHP 28 PLP B0 F8 BCS *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 20 xx xx JSR @rts15 10 F8 BPL *-6 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP 08 PHP 28 PLP B0 F8 BCS *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 00 00 BRK 0 B0 FA BCS *-4 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 18 CLC D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, S, Z&N, and C |
13 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
142 cycles
5 bytes | |
---|---|
A9 LDA #115 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A0 98 LDY #152 ;hides 'TYA' EA NOP 88 DEY 88 DEY 30 FA BMI *-4 |
Clobbers A, Y, and Z&N |
A2 98 LDX #152 ;hides 'TYA' EA NOP CA DEX CA DEX 30 FA BMI *-4 |
Clobbers A, X, and Z&N |
48 PHA 48 PHA A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
A2 1A LDX #26 ;hides 'NOP' EA NOP CA DEX CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
A0 1A LDY #26 ;hides 'NOP' EA NOP 88 DEY 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
08 PHP A9 LDA #108 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #108 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A2 1B LDX #27 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP EA NOP A0 1B LDY #27 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
68 PLA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 28 PLP |
Clobbers A; requires @rts12; and writes in stack |
8C TXA 48 PHA A2 1A LDX #26 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A2 1A LDX #26 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 1A LDY #26 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
EA NOP EA NOP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #101 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA 8C TXA 48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP 08 PHP 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
143 cycles
5 bytes | |
---|---|
A9 LDA #116 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 1C LDX #28 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 1C LDY #28 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
7 bytes | |
08 PHP A2 1B LDX #27 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 1B LDY #27 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #109 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #109 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 08 PHP 28 PLP D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; and writes in stack |
9 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 08 PHP 28 PLP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #102 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 13 LDA #19 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 13 LDA #19 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
00 00 BRK 0 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
12 bytes | |
08 PHP 48 PHA 38 SEC A9 12 LDA #18 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
144 cycles
5 bytes | |
---|---|
A9 LDA #117 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 1C LDY #28 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 1C LDX #28 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 1C LDX #28 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 1C LDY #28 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #110 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #110 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
00 00 BRK 0 08 PHP A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 28 PLP |
Clobbers X; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP A0 11 LDY #17 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 11 LDX #17 C5 00 CMP $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
EA NOP 68 PLA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #103 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 28 PLP |
Clobbers A; requires @rts12; and writes in stack |
EA NOP 8C TXA 48 PHA A2 1A LDX #26 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
EA NOP EA NOP EA NOP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
11 bytes | |
48 PHA 98 TYA 48 PHA A0 19 LDY #25 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C |
145 cycles
5 bytes | |
---|---|
A9 LDA #118 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 12 LDX #18 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
A0 12 LDY #18 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
A0 10 LDY #16 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
A2 10 LDX #16 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
7 bytes | |
A0 10 LDY #16 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N |
A2 10 LDX #16 EA NOP EA NOP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #111 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #111 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 1B LDX #27 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 1B LDY #27 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #104 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; requires @rts12; and writes in stack |
11 bytes | |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
48 PHA 48 PHA 8C TXA 48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 68 PLA AA TAX 68 PLA |
Clobbers S, and Z&N; and writes in stack |
12 bytes | |
20 xx xx JSR @rts15 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Requires @rts15; and writes in stack |
48 PHA 98 TYA 48 PHA A0 12 LDY #18 EA NOP 88 DEY D0 FA BNE *-4 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
EA NOP 00 00 BRK 0 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
08 PHP 48 PHA 38 SEC A9 10 LDA #16 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 68 PLA 28 PLP |
Writes in stack |
146 cycles
5 bytes | |
---|---|
A0 1D LDY #29 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 1D LDX #29 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #119 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #112 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #112 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A0 1B LDY #27 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 1B LDX #27 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 1B LDX #27 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 1B LDY #27 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A5 00 LDA $00 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 08 PHP 28 PLP D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; and writes in stack |
08 PHP 48 PHA A9 LDA #105 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
68 PLA 8C TXA 48 PHA A2 1A LDX #26 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
11 bytes | |
08 PHP 38 SEC A9 11 LDA #17 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
48 PHA 38 SEC A9 11 LDA #17 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
12 bytes | |
EA NOP 48 PHA 98 TYA 48 PHA A0 19 LDY #25 88 DEY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
48 PHA 00 00 BRK 0 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only B0 FC BCS *-2 68 PLA 28 PLP |
Clobbers S; requires dummy interrupt handler; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 19 LDA #25 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
147 cycles
5 bytes | |
---|---|
A9 LDA #120 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
EA NOP A0 12 LDY #18 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
EA NOP A2 12 LDX #18 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
EA NOP A0 10 LDY #16 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
EA NOP A2 10 LDX #16 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #113 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #113 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A0 10 LDY #16 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N |
EA NOP A2 10 LDX #16 EA NOP EA NOP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
8C TXA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 1B LDY #27 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 1B LDX #27 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 12 LDA #18 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #106 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, S, Z&N, and C |
13 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
148 cycles
5 bytes | |
---|---|
A9 LDA #121 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 15 LDY #21 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A0 1C LDY #28 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 1C LDX #28 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #114 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #114 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #107 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP 08 PHP 28 PLP 30 F9 BMI *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP 08 PHP 28 PLP 30 F9 BMI *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; requires @rts12; and writes in stack |
12 bytes | |
EA NOP EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts12; and writes in stack |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 20 xx xx JSR @rts14 B0 F9 BCS *-5 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
48 PHA 48 PHA 48 PHA 8C TXA 48 PHA A2 E8 LDX #232 ;hides 'INX' D0 FD BNE *-1 68 PLA AA TAX 68 PLA |
Clobbers S, and Z&N; and writes in stack |
13 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$2A' 2A ROL A ;first loop only 08 PHP 28 PLP 08 PHP 28 PLP B0 F8 BCS *-6 68 PLA 28 PLP |
Writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C; and requires @zptemp |
14 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
149 cycles
5 bytes | |
---|---|
A9 LDA #122 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A2 1D LDX #29 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 1D LDY #29 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 1D LDX #29 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 1D LDY #29 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #115 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #115 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP A2 98 LDX #152 ;hides 'TYA' EA NOP CA DEX CA DEX 30 FA BMI *-4 28 PLP |
Clobbers A, and X; and writes in stack |
08 PHP A0 98 LDY #152 ;hides 'TYA' EA NOP 88 DEY 88 DEY 30 FA BMI *-4 28 PLP |
Clobbers A, and Y; and writes in stack |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP A0 1B LDY #27 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A2 1B LDX #27 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
EA NOP 68 PLA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
08 PHP A2 1A LDX #26 ;hides 'NOP' EA NOP CA DEX CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; requires support for unofficial opcodes; and writes in stack |
08 PHP A0 1A LDY #26 ;hides 'NOP' EA NOP 88 DEY 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #108 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 8C TXA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A0 1B LDY #27 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A2 1B LDX #27 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 38 SEC A9 12 LDA #18 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA 28 PLP |
Requires @rts12; and writes in stack |
48 PHA 8C TXA 48 PHA A2 1A LDX #26 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, S, Z&N, and C |
14 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
150 cycles
5 bytes | |
---|---|
A9 LDA #123 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 1D LDY #29 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 1D LDX #29 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A0 15 LDY #21 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #116 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #116 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 1C LDX #28 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 1C LDY #28 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #109 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 08 PHP 28 PLP 18 CLC D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; and writes in stack |
12 bytes | |
08 PHP 48 PHA 38 SEC A9 13 LDA #19 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
151 cycles
5 bytes | |
---|---|
A2 1E LDX #30 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 1E LDY #30 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 LDA #124 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
08 PHP A9 LDA #117 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #117 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA 08 PHP A2 1C LDX #28 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 1C LDY #28 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 1C LDX #28 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 1C LDY #28 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A5 00 LDA $00 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #110 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
68 PLA 8C TXA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
11 bytes | |
EA NOP EA NOP 8C TXA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
48 PHA 48 PHA 08 PHP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts12 D0 FA BNE *-4 68 PLA 28 PLP |
Requires @rts12; and writes in stack |
EA NOP 48 PHA 8C TXA 48 PHA A2 1A LDX #26 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 1A LDA #26 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
152 cycles
5 bytes | |
---|---|
A9 LDA #125 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
48 PHA 48 PHA A2 1D LDX #29 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA 48 PHA A0 1D LDY #29 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
EA NOP 68 PLA A0 1D LDY #29 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP 68 PLA A2 1D LDX #29 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
08 PHP A9 LDA #118 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #118 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 15 LDY #21 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
68 PLA 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
8C TXA 48 PHA A2 1C LDX #28 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP A2 10 LDX #16 EA NOP EA NOP CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 10 LDY #16 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #111 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
153 cycles
5 bytes | |
---|---|
A0 EA LDY #234 ;hides 'NOP' C8 INY D0 FC BNE *-2 |
Clobbers Y, and Z&N |
A2 EA LDX #234 ;hides 'NOP' E8 INX D0 FC BNE *-2 |
Clobbers X, and Z&N |
A9 LDA #126 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A2 1D LDX #29 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 1D LDY #29 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 1E LDA #30 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #119 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #119 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
9 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A, and S; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #112 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP A5 00 LDA $00 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
24 00 BIT $00 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
12 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 08 PHP 28 PLP 18 CLC D0 F8 BNE *-6 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
13 bytes | |
08 PHP 48 PHA 38 SEC A9 11 LDA #17 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 68 PLA 28 PLP |
Writes in stack |
154 cycles
5 bytes | |
---|---|
A9 LDA #127 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 1E LDY #30 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 1E LDX #30 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
A0 11 LDY #17 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
A2 11 LDX #17 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
7 bytes | |
A6 00 LDX $00 A2 1E LDX #30 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 1E LDY #30 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #120 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #120 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack |
9 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
48 PHA 48 PHA 08 PHP A0 1C LDY #28 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A2 1C LDX #28 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; and writes in stack |
EA NOP 68 PLA 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
68 PLA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A, S, and Z&N; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #113 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 8C TXA 48 PHA A2 1C LDX #28 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP 08 PHP A0 10 LDY #16 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 10 LDX #16 EA NOP EA NOP CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
EA NOP EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP 38 SEC A9 12 LDA #18 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
155 cycles
5 bytes | |
---|---|
A9 LDA #128 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 16 LDY #22 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A2 16 LDX #22 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 |
Clobbers A, Z&N, C, and V |
7 bytes | |
08 PHP A9 LDA #121 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #121 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 15 LDY #21 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #114 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
11 bytes | |
EA NOP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP 08 PHP 28 PLP 30 F9 BMI *-5 68 PLA 28 PLP |
Writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, S, Z&N, and C |
13 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
156 cycles
5 bytes | |
---|---|
A0 1F LDY #31 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 1F LDX #31 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
7 bytes | |
08 PHP A9 LDA #122 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #122 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A2 1D LDX #29 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 1D LDY #29 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 1D LDX #29 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 1D LDY #29 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @zptemp, and @rts14; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack |
08 PHP 48 PHA A9 LDA #115 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires @zptemp; and writes in stack |
68 PLA 8C TXA 48 PHA A2 1C LDX #28 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
48 PHA 48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A, and S; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
11 bytes | |
8C TXA 48 PHA A2 10 LDX #16 EA NOP EA NOP CA DEX D0 F9 BNE *-5 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
EA NOP EA NOP EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
12 bytes | |
EA NOP 48 PHA 8C TXA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP 08 PHP 38 SEC A9 12 LDA #18 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C; and requires @zptemp |
14 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
157 cycles
5 bytes | |
---|---|
A9 LDA #130 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A2 EA LDX #234 ;hides 'NOP' E8 INX D0 FC BNE *-2 |
Clobbers A, X, S, and Z&N |
68 PLA A0 EA LDY #234 ;hides 'NOP' C8 INY D0 FC BNE *-2 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
EA NOP A0 16 LDY #22 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP A2 16 LDX #22 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #123 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #123 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
8C TXA 48 PHA A2 1D LDX #29 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP 08 PHP A0 15 LDY #21 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP 48 PHA A9 LDA #116 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, S, Z&N, and C |
14 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
158 cycles
5 bytes | |
---|---|
A9 LDA #131 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 1F LDX #31 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 1F LDY #31 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
7 bytes | |
08 PHP A2 1E LDX #30 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 1E LDY #30 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A9 LDA #124 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #124 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
EA NOP 00 00 BRK 0 A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #117 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
13 bytes | |
EA NOP EA NOP 48 PHA 8C TXA 48 PHA A2 1B LDX #27 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
48 PHA 48 PHA 08 PHP 48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
14 bytes | |
EA NOP EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 1B LDA #27 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
159 cycles
5 bytes | |
---|---|
A9 LDA #132 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 1F LDY #31 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 1F LDX #31 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 1F LDX #31 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 1F LDY #31 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
A5 00 LDA $00 A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP A9 LDA #125 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #125 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts12 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack |
9 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 20 xx xx JSR @rts12 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @zptemp, and @rts12; and writes in stack |
48 PHA 48 PHA 08 PHP A0 1D LDY #29 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A2 1D LDX #29 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 08 PHP 28 PLP 18 CLC D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 20 xx xx JSR @rts12 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #118 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
8C TXA 48 PHA A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 15 LDY #21 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 1C LDX #28 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP 08 PHP 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
160 cycles
5 bytes | |
---|---|
A9 LDA #133 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 1F LDY #31 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 1F LDX #31 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V |
7 bytes | |
08 PHP A0 EA LDY #234 ;hides 'NOP' C8 INY D0 FC BNE *-2 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 EA LDX #234 ;hides 'NOP' E8 INX D0 FC BNE *-2 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP A0 1F LDY #31 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 1F LDX #31 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #126 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #126 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 1E LDA #30 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 1E LDA #30 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #119 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
11 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA 28 PLP |
Clobbers S; requires dummy interrupt handler; and writes in stack |
12 bytes | |
08 PHP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
13 bytes | |
08 PHP 24 00 BIT $00 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C |
161 cycles
5 bytes | |
---|---|
A0 20 LDY #32 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 20 LDX #32 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
A9 LDA #134 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
E6 xx INC @zptemp A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
EA NOP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #127 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #127 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
EA NOP A5 00 LDA $00 A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC D0 FA BNE *-4 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A0 1E LDY #30 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 1E LDX #30 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 1E LDX #30 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 1E LDY #30 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts12 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack |
08 PHP 48 PHA A9 LDA #120 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 20 xx xx JSR @rts12 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @zptemp, and @rts12; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
68 PLA 8C TXA 48 PHA A2 1D LDX #29 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
48 PHA 08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 28 PLP |
Clobbers A, and S; requires @rts14; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; requires @rts14; and writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 20 xx xx JSR @rts12 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack |
11 bytes | |
EA NOP 8C TXA 48 PHA A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
48 PHA 48 PHA 08 PHP 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
12 bytes | |
EA NOP 48 PHA 8C TXA 48 PHA A2 1C LDX #28 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
162 cycles
5 bytes | |
---|---|
A9 LDA #135 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 17 LDX #23 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 17 LDY #23 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, Z&N, C, and V |
7 bytes | |
08 PHP A9 LDA #128 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #128 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 16 LDY #22 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 16 LDX #22 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP 48 PHA A9 LDA #121 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
163 cycles
5 bytes | |
---|---|
A9 LDA #136 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 20 LDY #32 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 20 LDX #32 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
7 bytes | |
08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A2 1F LDX #31 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 1F LDY #31 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
38 SEC A9 20 LDA #32 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 48 PHA A9 LDA #122 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
11 bytes | |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and @rts14; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA |
Clobbers S, Z&N, and C; requires @rts14; and writes in stack |
12 bytes | |
EA NOP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires @zptemp; and writes in stack |
EA NOP 48 PHA 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, and C; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA 28 PLP |
Clobbers S; requires dummy interrupt handler; and writes in stack |
13 bytes | |
48 PHA 8C TXA 48 PHA A2 10 LDX #16 EA NOP EA NOP CA DEX D0 F9 BNE *-5 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, S, Z&N, and C |
14 bytes | |
EA NOP EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 1C LDA #28 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
164 cycles
5 bytes | |
---|---|
A9 LDA #137 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 20 LDY #32 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 20 LDX #32 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 20 LDX #32 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 20 LDY #32 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #130 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #130 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 0D LDY #13 08 PHP 28 PLP 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 0D LDX #13 08 PHP 28 PLP CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #123 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 1D LDX #29 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
12 bytes | |
08 PHP 48 PHA 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C; and requires @zptemp |
15 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
165 cycles
5 bytes | |
---|---|
A9 LDA #138 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 20 LDY #32 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 20 LDX #32 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes |
7 bytes | |
EA NOP EA NOP A0 20 LDY #32 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP EA NOP A2 20 LDX #32 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
EA NOP EA NOP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP A9 LDA #131 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #131 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 08 PHP A0 1F LDY #31 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 08 PHP A2 1F LDX #31 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 38 SEC A9 20 LDA #32 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 48 PHA A9 LDA #124 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
EA NOP 00 00 BRK 0 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 D0 FB BNE *-3 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 08 PHP 28 PLP D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, S, Z&N, and C |
15 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
166 cycles
5 bytes | |
---|---|
A0 21 LDY #33 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 21 LDX #33 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #139 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, S, Z&N, C, and V |
E6 xx INC @zptemp A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; and requires @zptemp, and support for unofficial opcodes |
08 PHP A9 LDA #132 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #132 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, Z&N, C, and V |
48 PHA 08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 08 PHP A0 1F LDY #31 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 08 PHP A2 1F LDX #31 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP A5 00 LDA $00 A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
08 PHP A6 00 LDX $00 A2 1F LDX #31 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 1F LDY #31 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
24 00 BIT $00 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #125 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 20 xx xx JSR @rts12 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and @rts12; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 20 xx xx JSR @rts12 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack |
12 bytes | |
48 PHA 8C TXA 48 PHA A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
13 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
167 cycles
5 bytes | |
---|---|
A2 18 LDX #24 ;hides 'CLC' CA DEX D0 FC BNE *-2 |
Clobbers X, and Z&N |
A0 18 LDY #24 ;hides 'CLC' 88 DEY D0 FC BNE *-2 |
Clobbers Y, and Z&N |
A9 LDA #140 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 00 00 BRK 0 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
EA NOP 68 PLA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP A9 LDA #133 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #133 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
E6 xx INC @zptemp A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
68 PLA 08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
68 PLA 38 SEC A9 20 LDA #32 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
EA NOP EA NOP EA NOP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
9 bytes | |
EA NOP EA NOP 08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 08 PHP A2 1F LDX #31 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 1F LDY #31 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP EA NOP 38 SEC A9 20 LDA #32 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #126 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 1E LDA #30 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
12 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
168 cycles
5 bytes | |
---|---|
A9 LDA #141 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 21 LDY #33 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 21 LDX #33 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A2 20 LDX #32 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 20 LDY #32 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
08 PHP A9 LDA #134 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #134 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
08 PHP E6 xx INC @zptemp A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp; and writes in stack |
EA NOP 48 PHA 08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; and writes in stack |
EA NOP 48 PHA 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #127 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP EA NOP A5 00 LDA $00 A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
EA NOP 24 00 BIT $00 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 18 CLC D0 FA BNE *-4 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
12 bytes | |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 20 xx xx JSR @rts12 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and @rts12; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 00 00 BRK 0 00 00 BRK 0 10 F9 BPL *-5 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA 28 PLP |
Clobbers S; requires @rts14; and writes in stack |
EA NOP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 20 xx xx JSR @rts12 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @rts12, and support for unofficial opcodes; and writes in stack |
13 bytes | |
EA NOP 48 PHA 8C TXA 48 PHA A2 15 LDX #21 EA NOP CA DEX D0 FA BNE *-4 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP C5 00 CMP $00 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 D0 FA BNE *-4 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA 38 SEC A9 1D LDA #29 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
14 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 15 LDA #21 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
169 cycles
5 bytes | |
---|---|
A9 LDA #142 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 18 LDX #24 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 18 LDY #24 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
7 bytes | |
00 00 BRK 0 A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP A9 LDA #135 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #135 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A0 17 LDY #23 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 17 LDX #23 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
68 PLA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 48 PHA A9 LDA #128 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
170 cycles
5 bytes | |
---|---|
A9 LDA #143 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A0 C8 LDY #200 ;hides 'INY' C8 INY C8 INY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
48 PHA A2 18 LDX #24 ;hides 'CLC' CA DEX D0 FC BNE *-2 |
Clobbers X, S, and Z&N; and writes in stack |
68 PLA A2 21 LDX #33 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
A2 5A LDX #90 ;hides 'NOP' E8 INX E8 INX 10 FB BPL *-3 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
EA NOP EA NOP A2 21 LDX #33 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
08 PHP A9 LDA #136 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #136 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 20 LDX #32 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 20 LDY #32 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 00 00 BRK 0 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
EA NOP 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
EA NOP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
171 cycles
5 bytes | |
---|---|
A0 22 LDY #34 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 22 LDX #34 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #144 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A9 LDA #137 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #137 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
38 SEC A9 18 LDA #24 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
48 PHA 08 PHP A2 20 LDX #32 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 20 LDY #32 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 00 00 BRK 0 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; requires support for unofficial opcodes; and writes in stack |
48 PHA 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A; and writes in stack |
08 PHP A6 00 LDX $00 A2 20 LDX #32 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 20 LDY #32 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #130 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP D0 FB BNE *-3 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, S, Z&N, and C |
14 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
172 cycles
5 bytes | |
---|---|
A9 LDA #145 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 13 LDX #19 68 PLA CA DEX D0 FA BNE *-4 |
Clobbers A, X, S, and Z&N |
A0 13 LDY #19 68 PLA 88 DEY D0 FA BNE *-4 |
Clobbers A, Y, S, and Z&N |
7 bytes | |
A0 13 LDY #19 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N |
A2 13 LDX #19 EA NOP EA NOP CA DEX D0 F9 BNE *-5 |
Clobbers X, and Z&N |
08 PHP A9 LDA #138 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #138 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
68 PLA 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
68 PLA 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
8C TXA 48 PHA A2 20 LDX #32 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 20 LDY #32 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 20 LDX #32 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
EA NOP EA NOP 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
EA NOP EA NOP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #131 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C; and requires @zptemp |
15 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
173 cycles
5 bytes | |
---|---|
A9 LDA #146 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A2 22 LDX #34 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A0 22 LDY #34 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A2 21 LDX #33 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 21 LDY #33 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #139 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #139 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
68 PLA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A, S, and Z&N; and writes in stack |
08 PHP E6 xx INC @zptemp A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires @zptemp, and support for unofficial opcodes; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp, and support for unofficial opcodes; and writes in stack |
EA NOP 48 PHA 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; requires support for unofficial opcodes; and writes in stack |
EA NOP 48 PHA 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #132 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A; and writes in stack |
EA NOP EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
11 bytes | |
08 PHP 24 00 BIT $00 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, S, Z&N, and C |
15 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F5 BNE *-9 |
Clobbers A, Z&N, and C |
174 cycles
5 bytes | |
---|---|
A2 E8 LDX #232 ;hides 'INX' EA NOP D0 FC BNE *-2 |
Clobbers X, and Z&N |
A0 98 LDY #152 ;hides 'TYA' 88 DEY 30 FC BMI *-2 |
Clobbers A, Y, and Z&N |
A9 LDA #147 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 22 LDY #34 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
7 bytes | |
08 PHP A0 18 LDY #24 ;hides 'CLC' 88 DEY D0 FC BNE *-2 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 18 LDX #24 ;hides 'CLC' CA DEX D0 FC BNE *-2 28 PLP |
Clobbers X; and writes in stack |
A4 00 LDY $00 A0 22 LDY #34 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
00 00 BRK 0 A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
08 PHP A9 LDA #140 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #140 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
38 SEC A9 13 LDA #19 EA NOP EA NOP E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
48 PHA 68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 00 00 BRK 0 D0 FA BNE *-4 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; requires support for unofficial opcodes; and writes in stack |
48 PHA 48 PHA 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #133 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 8C TXA 48 PHA A2 20 LDX #32 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC D0 F9 BNE *-5 28 PLP |
Clobbers A; requires @rts14; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
08 PHP E6 xx INC @zptemp A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
E6 xx INC @zptemp 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
EA NOP 48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 28 PLP |
Clobbers A, and S; and writes in stack |
EA NOP 48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
EA NOP EA NOP EA NOP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
11 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
175 cycles
5 bytes | |
---|---|
A9 LDA #148 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 22 LDY #34 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 22 LDX #34 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP EA NOP A2 22 LDX #34 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 22 LDY #34 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #141 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #141 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 21 LDX #33 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 21 LDY #33 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
EA NOP 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 00 00 BRK 0 18 CLC D0 F9 BNE *-5 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts14 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack |
9 bytes | |
08 PHP 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #134 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
08 PHP E6 xx INC @zptemp 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
EA NOP 48 PHA 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; and writes in stack |
12 bytes | |
08 PHP EA NOP 24 00 BIT $00 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
176 cycles
5 bytes | |
---|---|
A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #149 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A9 LDA #142 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #142 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 18 LDY #24 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 18 LDX #24 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
20 xx xx JSR @rts15 A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; requires @rts15, and support for unofficial opcodes; and writes in stack |
EA NOP 00 00 BRK 0 A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
9 bytes | |
A5 00 LDA $00 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
00 00 BRK 0 08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
68 PLA 68 PLA 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, S, and Z&N; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #135 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C |
177 cycles
5 bytes | |
---|---|
A9 LDA #150 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 16 LDX #22 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
A0 16 LDY #22 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 E8 LDX #232 ;hides 'INX' EA NOP D0 FC BNE *-2 |
Clobbers X, and Z&N |
A0 16 LDY #22 A5 00 LDA $00 88 DEY D0 F9 BNE *-5 |
Clobbers A, Y, and Z&N |
A0 16 LDY #22 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, Z&N, and C |
A0 16 LDY #22 24 00 BIT $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, Z&N, and V |
A0 16 LDY #22 85 xx STA @zptemp 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N; and requires @zptemp |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
A0 16 LDY #22 04 00 NOP $00 88 DEY D0 F9 BNE *-5 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP A9 LDA #143 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #143 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A0 C8 LDY #200 ;hides 'INY' C8 INY C8 INY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A0 10 LDY #16 EA NOP EA NOP EA NOP 88 DEY D0 F8 BNE *-6 |
Clobbers Y, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 4C xx xx JMP *+3 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V; and not relocatable code |
48 PHA 08 PHP A2 18 LDX #24 ;hides 'CLC' CA DEX D0 FC BNE *-2 28 PLP |
Clobbers X, and S; and writes in stack |
68 PLA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
08 PHP A2 5A LDX #90 ;hides 'NOP' E8 INX E8 INX 10 FB BPL *-3 28 PLP |
Clobbers X; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
8C TXA 48 PHA A2 21 LDX #33 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A2 21 LDX #33 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #136 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
EA NOP 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
178 cycles
5 bytes | |
---|---|
A9 LDA #151 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
EA NOP A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A0 22 LDY #34 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 22 LDX #34 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #144 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #144 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
8C TXA 48 PHA A2 18 LDX #24 ;hides 'CLC' CA DEX D0 FC BNE *-2 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP 48 PHA A9 LDA #137 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 18 LDA #24 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 18 LDA #24 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
179 cycles
5 bytes | |
---|---|
A9 LDA #152 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 15 LDX #21 ;hides 'ORA zp,X' CA DEX ;first loop only CA DEX D0 FB BNE *-3 |
Clobbers A, X, and Z&N |
A0 15 LDY #21 ;hides 'ORA zp,X' 88 DEY ;first loop only 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, and Z&N |
A2 D8 LDX #216 ;hides 'CLD' E8 INX E8 INX D0 FB BNE *-3 |
Clobbers X, Z&N, and D |
A0 D8 LDY #216 ;hides 'CLD' C8 INY C8 INY D0 FB BNE *-3 |
Clobbers Y, Z&N, and D |
A0 88 LDY #136 ;hides 'DEY' 00 00 BRK 0 30 FB BMI *-3 |
Clobbers Y, and Z&N; requires dummy interrupt handler; and writes in stack |
48 PHA A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
A2 14 LDX #20 ;hides 'NOP zp,X' EA NOP CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
A0 14 LDY #20 ;hides 'NOP zp,X' EA NOP 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
7 bytes | |
A4 00 LDY $00 A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A6 00 LDX $00 A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #145 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #145 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
9 bytes | |
08 PHP A2 13 LDX #19 EA NOP EA NOP CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 13 LDY #19 EA NOP EA NOP 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 16 LDA #22 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires @rts15; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts14 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 00 00 BRK 0 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #138 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 8C TXA 48 PHA A2 21 LDX #33 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
48 PHA 00 00 BRK 0 08 PHP A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A, and S; requires dummy interrupt handler; and writes in stack |
48 PHA 00 00 BRK 0 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 20 LDX #32 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Clobbers S; and writes in stack |
EA NOP EA NOP 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
12 bytes | |
EA NOP 08 PHP 28 PLP 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, S, Z&N, and C |
15 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
180 cycles
5 bytes | |
---|---|
A9 LDA #153 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
68 PLA A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
68 PLA A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
7 bytes | |
EA NOP EA NOP A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #146 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #146 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 22 LDX #34 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 22 LDY #34 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #139 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
08 PHP E6 xx INC @zptemp 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires @zptemp, and support for unofficial opcodes; and writes in stack |
EA NOP 48 PHA 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; requires support for unofficial opcodes; and writes in stack |
12 bytes | |
EA NOP EA NOP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C; and requires @zptemp |
16 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
181 cycles
5 bytes | |
---|---|
A0 24 LDY #36 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 24 LDX #36 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A9 LDA #154 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A2 E8 LDX #232 ;hides 'INX' EA NOP D0 FC BNE *-2 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 98 LDY #152 ;hides 'TYA' 88 DEY 30 FC BMI *-2 28 PLP |
Clobbers A, and Y; and writes in stack |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #147 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #147 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
48 PHA 08 PHP A0 22 LDY #34 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 |
Clobbers A, S, Z&N, C, and V; and requires @zptemp |
38 SEC A9 14 LDA #20 ;hides 'NOP zp,X' EA NOP E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
9 bytes | |
08 PHP A4 00 LDY $00 A0 22 LDY #34 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A5 00 LDA $00 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
00 00 BRK 0 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
00 00 BRK 0 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #140 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
98 TYA 48 PHA A0 C8 LDY #200 ;hides 'INY' C8 INY C8 INY D0 FB BNE *-3 68 PLA A8 TAY |
Clobbers A, and Z&N; and writes in stack |
11 bytes | |
08 PHP 38 SEC A9 13 LDA #19 EA NOP EA NOP E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 13 LDA #19 EA NOP EA NOP E9 01 SBC #1 D0 F7 BNE *-7 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA 48 PHA 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; requires support for unofficial opcodes; and writes in stack |
12 bytes | |
EA NOP 48 PHA 8C TXA 48 PHA A2 20 LDX #32 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
08 PHP 48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts14 18 CLC D0 F9 BNE *-5 68 PLA 28 PLP |
Requires @rts14; and writes in stack |
08 PHP E6 xx INC @zptemp 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
EA NOP 48 PHA 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Clobbers S; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
13 bytes | |
08 PHP 48 PHA 8C TXA 48 PHA A2 1F LDX #31 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, S, Z&N, and C |
16 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
182 cycles
5 bytes | |
---|---|
A9 LDA #155 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A2 EC LDX #236 ;hides 'CPX abs' E6 xx INC @zptemp E8 INX D0 FA BNE *-4 |
Clobbers X, Z&N, and C; and requires @zptemp |
A0 EC LDY #236 ;hides 'CPX abs' E6 xx INC @zptemp C8 INY D0 FA BNE *-4 |
Clobbers Y, Z&N, and C; and requires @zptemp |
48 PHA 48 PHA A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA 48 PHA A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
EA NOP 68 PLA A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP 68 PLA A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
08 PHP A9 LDA #148 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #148 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP EA NOP A2 23 LDX #35 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
EA NOP EA NOP EA NOP A0 23 LDY #35 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
68 PLA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
9 bytes | |
8C TXA 48 PHA A2 22 LDX #34 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A2 22 LDX #34 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP 08 PHP A0 22 LDY #34 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #141 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 20 xx xx JSR @rts15 18 CLC D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires @rts15; and writes in stack |
EA NOP 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 00 00 BRK 0 18 CLC D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
183 cycles
5 bytes | |
---|---|
A9 LDA #156 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 1A LDX #26 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 1A LDY #26 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A2 23 LDX #35 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 23 LDY #35 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 24 LDA #36 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #149 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #149 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts15 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires @rts15; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 00 00 BRK 0 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 20 xx xx JSR @rts14 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @rts14; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 20 xx xx JSR @rts15 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @zptemp, and @rts15; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 20 xx xx JSR @rts12 D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C; requires @rts12; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 20 xx xx JSR @rts15 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #142 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 18 CLC D0 F7 BNE *-7 |
Clobbers A, Z&N, and C; and writes in stack |
48 PHA 08 PHP 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
20 xx xx JSR @rts15 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires @rts15, and support for unofficial opcodes; and writes in stack |
20 xx xx JSR @rts15 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires @rts15, and support for unofficial opcodes; and writes in stack |
EA NOP 00 00 BRK 0 08 PHP A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 28 PLP |
Clobbers A; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
EA NOP 00 00 BRK 0 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP A5 00 LDA $00 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
24 00 BIT $00 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
00 00 BRK 0 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires dummy interrupt handler; and writes in stack |
12 bytes | |
08 PHP 28 PLP 08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only EA NOP B0 FB BCS *-3 68 PLA 28 PLP |
Writes in stack |
13 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
184 cycles
5 bytes | |
---|---|
A9 LDA #157 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
48 PHA A0 24 LDY #36 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
48 PHA A2 24 LDX #36 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
7 bytes | |
A6 00 LDX $00 A2 24 LDX #36 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 24 LDY #36 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
08 PHP A9 LDA #150 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #150 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
48 PHA 08 PHP A2 E8 LDX #232 ;hides 'INX' EA NOP D0 FC BNE *-2 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 98 LDY #152 ;hides 'TYA' 88 DEY 30 FC BMI *-2 28 PLP |
Clobbers A, Y, and S; and writes in stack |
48 PHA 68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA D0 FB BNE *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
9 bytes | |
08 PHP A0 16 LDY #22 24 00 BIT $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
08 PHP A2 16 LDX #22 24 00 BIT $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp; and writes in stack |
68 PLA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
A5 00 LDA $00 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 |
Clobbers A, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
EA NOP 68 PLA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
68 PLA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #143 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 4C xx xx JMP *+3 D0 F9 BNE *-5 28 PLP |
Clobbers A; writes in stack; and not relocatable code |
EA NOP 8C TXA 48 PHA A2 22 LDX #34 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 4C xx xx JMP *+3 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; writes in stack; and not relocatable code |
EA NOP EA NOP EA NOP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 21 LDX #33 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
16 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
185 cycles
5 bytes | |
---|---|
A9 LDA #158 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
6 bytes | |
A2 17 LDX #23 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
A0 17 LDY #23 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
68 PLA A2 24 LDX #36 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
68 PLA A0 24 LDY #36 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA B0 FB BCS *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
7 bytes | |
EA NOP A0 1A LDY #26 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP A2 1A LDX #26 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP A9 LDA #151 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #151 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP 08 PHP A2 23 LDX #35 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP 08 PHP A0 23 LDY #35 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 1A LDA #26 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #144 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 18 LDX #24 ;hides 'CLC' CA DEX D0 FC BNE *-2 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
12 bytes | |
08 PHP 48 PHA 38 SEC A9 18 LDA #24 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
186 cycles
5 bytes | |
---|---|
A2 25 LDX #37 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A0 25 LDY #37 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
6 bytes | |
EA NOP A9 LDA #157 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A9 LDA #152 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #152 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
08 PHP A2 D8 LDX #216 ;hides 'CLD' E8 INX E8 INX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 D8 LDY #216 ;hides 'CLD' C8 INY C8 INY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
48 PHA 38 SEC A9 24 LDA #36 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
9 bytes | |
A5 00 LDA $00 38 SEC A9 24 LDA #36 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts15 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires @rts15; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 00 00 BRK 0 18 CLC D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #145 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp; and writes in stack |
68 PLA 8C TXA 48 PHA A2 22 LDX #34 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
EA NOP 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
EA NOP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP 38 SEC A9 16 LDA #22 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 16 LDA #22 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
12 bytes | |
EA NOP 48 PHA 8C TXA 48 PHA A2 21 LDX #33 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
48 PHA 00 00 BRK 0 08 PHP 48 PHA A9 69 LDA #$69 ;hides 'ADC #$38' 38 SEC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Clobbers S; requires dummy interrupt handler; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 21 LDA #33 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
187 cycles
6 bytes | |
---|---|
EA NOP A9 LDA #158 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
00 00 BRK 0 A2 E8 LDX #232 ;hides 'INX' EA NOP D0 FC BNE *-2 |
Clobbers X, and Z&N; requires dummy interrupt handler; and writes in stack |
00 00 BRK 0 A0 98 LDY #152 ;hides 'TYA' 88 DEY 30 FC BMI *-2 |
Clobbers A, Y, and Z&N; requires dummy interrupt handler; and writes in stack |
EA NOP A2 17 LDX #23 48 PHA CA DEX D0 FA BNE *-4 |
Clobbers X, S, and Z&N; and writes in stack |
EA NOP A0 17 LDY #23 48 PHA 88 DEY D0 FA BNE *-4 |
Clobbers Y, S, and Z&N; and writes in stack |
EA NOP 68 PLA A0 24 LDY #36 88 DEY D0 FB BNE *-3 |
Clobbers A, Y, S, and Z&N |
EA NOP 68 PLA A2 24 LDX #36 CA DEX D0 FB BNE *-3 |
Clobbers A, X, S, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA B0 FB BCS *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #153 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #153 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
EA NOP EA NOP A2 1A LDX #26 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
EA NOP EA NOP A0 1A LDY #26 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
68 PLA 38 SEC A9 24 LDA #36 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
9 bytes | |
8C TXA 48 PHA A2 23 LDX #35 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP 08 PHP A0 23 LDY #35 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP EA NOP 08 PHP A2 23 LDX #35 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
38 SEC A9 17 LDA #23 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
08 PHP 48 PHA A9 LDA #146 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 08 PHP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
EA NOP 48 PHA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, S, Z&N, and C |
15 bytes | |
EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
188 cycles
6 bytes | |
---|---|
EA NOP A0 25 LDY #37 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
EA NOP A2 25 LDX #37 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
68 PLA A9 LDA #157 20 xx xx JSR delay_a_25_clocks |
Clobbers A, S, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
08 PHP A2 24 LDX #36 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 24 LDY #36 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
38 SEC A9 25 LDA #37 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
08 PHP A9 LDA #154 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #154 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
9 bytes | |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
08 PHP 48 PHA A9 LDA #147 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
48 PHA 08 PHP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
08 PHP 38 SEC A9 14 LDA #20 ;hides 'NOP zp,X' EA NOP E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
48 PHA 38 SEC A9 14 LDA #20 ;hides 'NOP zp,X' EA NOP E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
11 bytes | |
08 PHP A5 00 LDA $00 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
24 00 BIT $00 48 PHA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
00 00 BRK 0 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
12 bytes | |
48 PHA 98 TYA 48 PHA A0 C8 LDY #200 ;hides 'INY' C8 INY C8 INY D0 FB BNE *-3 68 PLA A8 TAY 68 PLA |
Clobbers Z&N; and writes in stack |
13 bytes | |
08 PHP 48 PHA 38 SEC A9 13 LDA #19 EA NOP EA NOP E9 01 SBC #1 D0 F7 BNE *-7 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
E6 xx INC @zptemp A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C; and requires @zptemp |
16 bytes | |
EA NOP A5 00 LDA $00 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
189 cycles
6 bytes | |
---|---|
48 PHA A2 25 LDX #37 CA DEX D0 FB BNE *-3 |
Clobbers X, S, and Z&N; and writes in stack |
48 PHA A0 25 LDY #37 88 DEY D0 FB BNE *-3 |
Clobbers Y, S, and Z&N; and writes in stack |
68 PLA A9 LDA #158 20 xx xx JSR delay_a_25_clocks |
Clobbers A, S, Z&N, C, and V; and requires delay_a_25_clocks |
7 bytes | |
A6 00 LDX $00 A2 25 LDX #37 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
A4 00 LDY $00 A0 25 LDY #37 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 48 PHA B0 FB BCS *-3 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
08 PHP A9 LDA #155 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #155 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
EA NOP EA NOP A9 LDA #158 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
8 bytes | |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp B0 FA BCS *-4 |
Clobbers A, S, Z&N, C, and V; and requires @zptemp |
68 PLA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 B0 FA BCS *-4 |
Clobbers A, S, Z&N, C, and V; and requires support for unofficial opcodes |
9 bytes | |
08 PHP A0 EC LDY #236 ;hides 'CPX abs' E6 xx INC @zptemp C8 INY D0 FA BNE *-4 28 PLP |
Clobbers Y; requires @zptemp; and writes in stack |
08 PHP A2 EC LDX #236 ;hides 'CPX abs' E6 xx INC @zptemp E8 INX D0 FA BNE *-4 28 PLP |
Clobbers X; requires @zptemp; and writes in stack |
EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and requires @zptemp |
48 PHA 48 PHA 08 PHP A2 23 LDX #35 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 48 PHA 08 PHP A0 23 LDY #35 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
EA NOP 68 PLA 38 SEC A9 24 LDA #36 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V |
EA NOP EA NOP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 B0 FA BCS *-4 |
Clobbers A, Z&N, C, and V; and requires support for unofficial opcodes |
08 PHP 48 PHA A9 LDA #148 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
EA NOP 8C TXA 48 PHA A2 23 LDX #35 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A2 23 LDX #35 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP A0 23 LDY #35 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 17 LDA #23 24 00 BIT $00 E9 01 SBC #1 D0 F7 BNE *-7 |
Clobbers A, Z&N, C, and V |
11 bytes | |
48 PHA 8C TXA 48 PHA A2 22 LDX #34 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP 08 PHP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
12 bytes | |
EA NOP 08 PHP 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
EA NOP 68 PLA A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, S, Z&N, and C |
16 bytes | |
EA NOP EA NOP EA NOP A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F4 BNE *-10 |
Clobbers A, Z&N, and C |
190 cycles
6 bytes | |
---|---|
A2 1B LDX #27 EA NOP CA DEX D0 FA BNE *-4 |
Clobbers X, and Z&N |
A0 1B LDY #27 EA NOP 88 DEY D0 FA BNE *-4 |
Clobbers Y, and Z&N |
7 bytes | |
08 PHP A9 LDA #156 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #156 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
68 PLA 48 PHA A9 LDA #156 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
8 bytes | |
08 PHP A2 1A LDX #26 EA NOP CA DEX D0 FA BNE *-4 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 1A LDY #26 EA NOP 88 DEY D0 FA BNE *-4 28 PLP |
Clobbers Y; and writes in stack |
EA NOP 38 SEC A9 25 LDA #37 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
9 bytes | |
08 PHP 38 SEC A9 24 LDA #36 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
48 PHA 38 SEC A9 24 LDA #36 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 LDA #149 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
11 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 20 xx xx JSR @rts14 18 CLC D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @rts14; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 20 xx xx JSR @rts15 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and @rts15; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 85 xx STA @zptemp 00 00 BRK 0 18 CLC D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @zptemp, and dummy interrupt handler; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 20 xx xx JSR @rts15 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires @rts15, and support for unofficial opcodes; and writes in stack |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' 04 00 NOP $00 00 00 BRK 0 18 CLC D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, and C; requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
12 bytes | |
48 PHA A9 0A LDA #$0A ;hides 'ASL A' EA NOP 08 PHP 28 PLP 08 PHP 28 PLP 18 CLC D0 F7 BNE *-7 68 PLA |
Clobbers Z&N, and C; and writes in stack |
48 PHA 08 PHP 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Clobbers S; and writes in stack |
20 xx xx JSR @rts15 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires @rts15, and support for unofficial opcodes; and writes in stack |
EA NOP 00 00 BRK 0 08 PHP 48 PHA A9 EB LDA #$EB ;hides 'SBC #$18' 18 CLC ;first loop only D0 FC BNE *-2 68 PLA 28 PLP |
Requires dummy interrupt handler, and support for unofficial opcodes; and writes in stack |
13 bytes | |
08 PHP 24 00 BIT $00 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
15 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' D0 FD BNE *-1 A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC D0 F6 BNE *-8 |
Clobbers A, Z&N, and C |
191 cycles
5 bytes | |
---|---|
A0 26 LDY #38 88 DEY D0 FB BNE *-3 |
Clobbers Y, and Z&N |
A2 26 LDX #38 CA DEX D0 FB BNE *-3 |
Clobbers X, and Z&N |
7 bytes | |
08 PHP A9 LDA #157 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #157 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
68 PLA 48 PHA A9 LDA #157 20 xx xx JSR delay_a_25_clocks |
Clobbers A, Z&N, C, and V; and requires delay_a_25_clocks |
8 bytes | |
A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 20 xx xx JSR @rts14 30 F9 BMI *-5 |
Clobbers A, Z&N, C, and V; requires @rts14; and writes in stack |
48 PHA 08 PHP A2 24 LDX #36 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X, and S; and writes in stack |
48 PHA 08 PHP A0 24 LDY #36 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y, and S; and writes in stack |
48 PHA 38 SEC A9 25 LDA #37 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, C, and V; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 48 PHA 00 00 BRK 0 D0 F9 BNE *-5 |
Clobbers A, S, Z&N, and C; requires dummy interrupt handler; and writes in stack |
9 bytes | |
08 PHP A6 00 LDX $00 A2 24 LDX #36 CA DEX D0 FB BNE *-3 28 PLP |
Clobbers X; and writes in stack |
08 PHP A4 00 LDY $00 A0 24 LDY #36 88 DEY D0 FB BNE *-3 28 PLP |
Clobbers Y; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 28 PLP 20 xx xx JSR @rts12 D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @rts12; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP 20 xx xx JSR @rts15 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires @rts15; and writes in stack |
A5 00 LDA $00 38 SEC A9 25 LDA #37 E9 01 SBC #1 D0 F9 BNE *-5 |
Clobbers A, Z&N, C, and V |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP 00 00 BRK 0 18 CLC D0 F8 BNE *-6 |
Clobbers A, Z&N, and C; requires dummy interrupt handler; and writes in stack |
A9 0A LDA #$0A ;hides 'ASL A' 48 PHA 20 xx xx JSR @rts14 18 CLC D0 F8 BNE *-6 |
Clobbers A, S, Z&N, and C; requires @rts14; and writes in stack |
08 PHP 48 PHA A9 LDA #150 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' 08 PHP 36 00 ROL $00,X 76 00 ROR $00,X 28 PLP D0 F7 BNE *-7 |
Clobbers A, Z&N, and C; and writes in stack |
68 PLA 8C TXA 48 PHA A2 23 LDX #35 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, S, and Z&N; and writes in stack |
48 PHA 08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 28 PLP |
Clobbers A, and S; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 68 PLA |
Clobbers S, Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
11 bytes | |
EA NOP EA NOP 8C TXA 48 PHA A2 23 LDX #35 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp D0 FA BNE *-4 68 PLA 28 PLP |
Requires @zptemp; and writes in stack |
08 PHP A5 00 LDA $00 A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 28 PLP |
Clobbers A; requires dummy interrupt handler; and writes in stack |
24 00 BIT $00 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 00 00 BRK 0 30 FA BMI *-4 68 PLA |
Clobbers Z&N, C, and V; requires dummy interrupt handler; and writes in stack |
48 PHA 48 PHA 08 PHP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A, and S; and writes in stack |
48 PHA 48 PHA 48 PHA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA |
Clobbers S, Z&N, C, and V; and writes in stack |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 D0 FA BNE *-4 68 PLA 28 PLP |
Requires support for unofficial opcodes; and writes in stack |
12 bytes | |
08 PHP 48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 4C xx xx JMP *+3 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack; and not relocatable code |
EA NOP 48 PHA 8C TXA 48 PHA A2 22 LDX #34 CA DEX D0 FB BNE *-3 68 PLA AA TAX 68 PLA |
Clobbers Z&N; and writes in stack |
EA NOP EA NOP EA NOP 08 PHP 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 28 PLP |
Clobbers A; and writes in stack |
13 bytes | |
EA NOP EA NOP 08 PHP 48 PHA 38 SEC A9 22 LDA #34 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
14 bytes | |
A9 0A LDA #$0A ;hides 'ASL A' EA NOP EA NOP EA NOP EA NOP EA NOP EA NOP 18 CLC 90 00 BCC *+2 18 CLC D0 F3 BNE *-11 |
Clobbers A, Z&N, and C |
192 cycles
7 bytes | |
---|---|
08 PHP A9 LDA #158 20 xx xx JSR delay_a_25_clocks 28 PLP |
Clobbers A; requires delay_a_25_clocks; and writes in stack |
48 PHA A9 LDA #158 20 xx xx JSR delay_a_25_clocks 68 PLA |
Clobbers Z&N, C, and V; requires delay_a_25_clocks; and writes in stack |
8 bytes | |
38 SEC A9 1B LDA #27 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 |
Clobbers A, Z&N, C, and V |
A2 E0 LDX #224 ;hides 'CPX #imm' B4 48 LDY $48,X ;hides 'PHA' E8 INX E8 INX D0 F9 BNE *-5 |
Clobbers X, Y, S, Z&N, C, and V; and writes in stack |
A2 E0 LDX #224 ;hides 'CPX #imm' 14 48 NOP $48,X ;hides 'PHA' E8 INX E8 INX D0 F9 BNE *-5 |
Clobbers X, S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
A0 E0 LDY #224 ;hides 'CPX #imm' 14 48 NOP $48,X ;hides 'PHA' C8 INY C8 INY D0 F9 BNE *-5 |
Clobbers Y, S, Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
9 bytes | |
8C TXA 48 PHA A2 24 LDX #36 CA DEX D0 FB BNE *-3 68 PLA AA TAX |
Clobbers A, and Z&N; and writes in stack |
08 PHP A2 17 LDX #23 24 00 BIT $00 CA DEX D0 F9 BNE *-5 28 PLP |
Clobbers X; and writes in stack |
08 PHP A0 17 LDY #23 C5 00 CMP $00 88 DEY D0 F9 BNE *-5 28 PLP |
Clobbers Y; and writes in stack |
A0 E0 LDY #224 ;hides 'CPX #imm' 2C 24 EA BIT $EA24 ;hides 'BIT zp' C8 INY C8 INY D0 F8 BNE *-6 |
Clobbers Y, Z&N, C, and V |
A2 E0 LDX #224 ;hides 'CPX #imm' 2C 24 EA BIT $EA24 ;hides 'BIT zp' E8 INX E8 INX D0 F8 BNE *-6 |
Clobbers X, Z&N, C, and V |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp B0 FA BCS *-4 28 PLP |
Clobbers A; requires @zptemp; and writes in stack |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 85 xx STA @zptemp B0 FA BCS *-4 68 PLA |
Clobbers Z&N, C, and V; requires @zptemp; and writes in stack |
A0 0D LDY #13 ;hides 'ORA abs' AD 00 68 LDA $6800 ;hides 'PLA' EA NOP 88 DEY D0 F8 BNE *-6 |
Clobbers A, Y, S, and Z&N |
A2 0D LDX #13 ;hides 'ORA abs' AD 00 68 LDA $6800 ;hides 'PLA' EA NOP CA DEX D0 F8 BNE *-6 |
Clobbers A, X, S, and Z&N |
08 PHP A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 B0 FA BCS *-4 28 PLP |
Clobbers A; requires support for unofficial opcodes; and writes in stack |
A2 0C LDX #12 ;hides 'NOP abs' A5 00 LDA $0 68 PLA 48 PHA CA DEX D0 F8 BNE *-6 |
Clobbers A, X, and Z&N; and requires support for unofficial opcodes |
A0 0C LDY #12 ;hides 'NOP abs' A5 00 LDA $0 68 PLA 48 PHA 88 DEY D0 F8 BNE *-6 |
Clobbers A, Y, and Z&N; and requires support for unofficial opcodes |
48 PHA A9 E9 LDA #$E9 ;hides 'SBC #$0A' 0A ASL A ;first loop only 04 00 NOP $00 B0 FA BCS *-4 68 PLA |
Clobbers Z&N, C, and V; requires support for unofficial opcodes; and writes in stack |
08 PHP 48 PHA A9 LDA #151 20 xx xx JSR delay_a_25_clocks 68 PLA 28 PLP |
Requires delay_a_25_clocks; and writes in stack |
10 bytes | |
08 PHP 38 SEC A9 1A LDA #26 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 28 PLP |
Clobbers A; and writes in stack |
A0 01 LDY #1 A2 25 LDX #37 CA DEX D0 FB BNE *-3 88 DEY D0 F6 BNE *-8 |
Clobbers X, Y, and Z&N |
A9 0A LDA #$0A ;hides 'ASL A' A2 25 LDX #37 CA DEX D0 FB BNE *-3 38 SEC 90 F7 BCC *-7 |
Clobbers A, X, Z&N, and C |
A9 0A LDA #$0A ;hides 'ASL A' A0 25 LDY #37 88 DEY D0 FB BNE *-3 38 SEC 90 F7 BCC *-7 |
Clobbers A, Y, Z&N, and C |
48 PHA 38 SEC A9 1A LDA #26 EA NOP E9 01 SBC #1 D0 F8 BNE *-6 68 PLA |
Clobbers Z&N, C, and V; and writes in stack |
A2 0C LDX #12 ;hides 'NOP abs' 44 00 NOP $0 EA NOP E6 xx INC @zptemp CA DEX D0 F7 BNE *-7 |
Clobbers X, and Z&N; and requires @zptemp, and support for unofficial opcodes |
A0 0C LDY #12 ;hides 'NOP abs' 44 00 NOP $0 EA NOP E6 xx INC @zptemp 88 DEY D0 F7 BNE *-7 |
Clobbers Y, and Z&N; and requires @zptemp, and support for unofficial opcodes |
11 bytes | |
08 PHP 48 PHA 38 SEC A9 23 LDA #35 E9 01 SBC #1 D0 F9 BNE *-5 68 PLA 28 PLP |
Writes in stack |
A0 0C LDY #12 ;hides 'NOP abs' 44 00 NOP $0 EA NOP EA NOP 04 00 NOP $00 88 DEY D0 F6 BNE *-8 |
Clobbers Y, and Z&N; and requires support for unofficial opcodes |
A2 0C LDX #12 ;hides 'NOP abs' 44 00 NOP $0 EA NOP EA NOP 04 00 NOP $00 CA DEX D0 F6 BNE *-8 |
Clobbers X, and Z&N; and requires support for unofficial opcodes |
12 bytes | |
A2 EC LDX #236 ;hides 'CPX abs' E6 xx INC @zptemp EA NOP EA NOP EA NOP EA NOP E8 INX E8 INX D0 F5 BNE *-9 |
Clobbers X, Z&N, and C; and requires @zptemp |
A0 EC LDY #236 ;hides 'CPX abs' E6 xx INC @zptemp EA NOP EA NOP EA NOP EA NOP C8 INY C8 INY D0 F5 BNE *-9 |
Clobbers Y, Z&N, and C; and requires @zptemp |
14 bytes | |
A2 05 LDX #5 ;hides 'ORA zp' E8 INX ;first loop only 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X CA DEX D0 F3 BNE *-11 |
Clobbers A, X, and Z&N |
A0 05 LDY #5 ;hides 'ORA zp' C8 INY ;first loop only 36 00 ROL $00,X 76 00 ROR $00,X 36 00 ROL $00,X 76 00 ROR $00,X 88 DEY D0 F3 BNE *-11 |
Clobbers A, Y, and Z&N |
See also
- Delay code for functions that produce runtime-determined amount of delay
- Bisqwit's 6502 delay_n macro set for ca65: http://bisqwit.iki.fi/src/6502-inline_delay.7z