Skip to content

Instantly share code, notes, and snippets.

@Benabik
Created July 14, 2017 23:59
Show Gist options
  • Save Benabik/c2cc42e21eea0fd8ecd539f59117c70b to your computer and use it in GitHub Desktop.
Save Benabik/c2cc42e21eea0fd8ecd539f59117c70b to your computer and use it in GitHub Desktop.
( 0400 00 ) BRK,
( 0401 01 12 ) $12 X) ORA,
( 0403 02 ) $02 tc,
( 0404 03 ) $03 tc,
( 0405 04 ) $04 tc,
( 0406 05 12 ) $12 ORA,
( 0408 06 12 ) $12 ASL,
( 040A 07 ) $07 tc,
( 040B 08 ) PHP,
( 040C 09 12 ) $12 # ORA,
( 040E 0A ) .A ASL,
( 040F 0B ) $0B tc,
( 0410 0C ) $0C tc,
( 0411 0D 34 12 ) $1234 ORA,
( 0414 0E 34 12 ) $1234 ASL,
( 0417 0F ) $0F tc,
( 0418 10 FF ) -1 BPL,
( 041A 11 12 ) $12 )Y ORA,
( 041C 12 ) $12 tc,
( 041D 13 ) $13 tc,
( 041E 14 ) $14 tc,
( 041F 15 12 ) $12 ,X ORA,
( 0421 16 12 ) $12 ,X ASL,
( 0423 17 ) $17 tc,
( 0424 18 ) CLC,
( 0425 19 34 12 ) $1234 ,Y ORA,
( 0428 1A ) $1A tc,
( 0429 1B ) $1B tc,
( 042A 1C ) $1C tc,
( 042B 1D 34 12 ) $1234 ,X ORA,
( 042E 1E 34 12 ) $1234 ,X ASL,
( 0431 1F ) $1F tc,
( 0432 20 34 12 ) $1234 JSR,
( 0435 21 12 ) $12 X) AND,
( 0437 22 ) $22 tc,
( 0438 23 ) $23 tc,
( 0439 24 12 ) $12 BIT,
( 043B 25 12 ) $12 AND,
( 043D 26 12 ) $12 ROL,
( 043F 27 ) $27 tc,
( 0440 28 ) PLP,
( 0441 29 12 ) $12 # AND,
( 0443 2A ) .A ROL,
( 0444 2B ) $2B tc,
( 0445 2C 34 12 ) $1234 BIT,
( 0448 2D 34 12 ) $1234 AND,
( 044B 2E 34 12 ) $1234 ROL,
( 044E 2F ) $2F tc,
( 044F 30 FF ) -1 BMI,
( 0451 31 12 ) $12 )Y AND,
( 0453 32 ) $32 tc,
( 0454 33 ) $33 tc,
( 0455 34 ) $34 tc,
( 0456 35 12 ) $12 ,X AND,
( 0458 36 12 ) $12 ,X ROL,
( 045A 37 ) $37 tc,
( 045B 38 ) SEC,
( 045C 39 34 12 ) $1234 ,Y AND,
( 045F 3A ) $3A tc,
( 0460 3B ) $3B tc,
( 0461 3C ) $3C tc,
( 0462 3D 34 12 ) $1234 ,X AND,
( 0465 3E 34 12 ) $1234 ,X ROL,
( 0468 3F ) $3F tc,
( 0469 40 ) RTI,
( 046A 41 12 ) $12 X) EOR,
( 046C 42 ) $42 tc,
( 046D 43 ) $43 tc,
( 046E 44 ) $44 tc,
( 046F 45 12 ) $12 EOR,
( 0471 46 12 ) $12 LSR,
( 0473 47 ) $47 tc,
( 0474 48 ) PHA,
( 0475 49 12 ) $12 # EOR,
( 0477 4A ) .A LSR,
( 0478 4B ) $4B tc,
( 0479 4C 34 12 ) $1234 JMP,
( 047C 4D 34 12 ) $1234 EOR,
( 047F 4E 34 12 ) $1234 LSR,
( 0482 4F ) $4F tc,
( 0483 50 FF ) -1 BVC,
( 0485 51 12 ) $12 )Y EOR,
( 0487 52 ) $52 tc,
( 0488 53 ) $53 tc,
( 0489 54 ) $54 tc,
( 048A 55 12 ) $12 ,X EOR,
( 048C 56 12 ) $12 ,X LSR,
( 048E 57 ) $57 tc,
( 048F 58 ) CLI,
( 0490 59 34 12 ) $1234 ,Y EOR,
( 0493 5A ) $5A tc,
( 0494 5B ) $5B tc,
( 0495 5C ) $5C tc,
( 0496 5D 34 12 ) $1234 ,X EOR,
( 0499 5E 34 12 ) $1234 ,X LSR,
( 049C 5F ) $5F tc,
( 049D 60 ) RTS,
( 049E 61 12 ) $12 X) ADC,
( 04A0 62 ) $62 tc,
( 04A1 63 ) $63 tc,
( 04A2 64 ) $64 tc,
( 04A3 65 12 ) $12 ADC,
( 04A5 66 12 ) $12 ROR,
( 04A7 67 ) $67 tc,
( 04A8 68 ) PLA,
( 04A9 69 12 ) $12 # ADC,
( 04AB 6A ) .A ROR,
( 04AC 6B ) $6B tc,
( 04AD 6C 34 12 ) $1234 ) JMP,
( 04B0 6D 34 12 ) $1234 ADC,
( 04B3 6E 34 12 ) $1234 ROR,
( 04B6 6F ) $6F tc,
( 04B7 70 FF ) -1 BVS,
( 04B9 71 12 ) $12 )Y ADC,
( 04BB 72 ) $72 tc,
( 04BC 73 ) $73 tc,
( 04BD 74 ) $74 tc,
( 04BE 75 12 ) $12 ,X ADC,
( 04C0 76 12 ) $12 ,X ROR,
( 04C2 77 ) $77 tc,
( 04C3 78 ) SEI,
( 04C4 79 34 12 ) $1234 ,Y ADC,
( 04C7 7A ) $7A tc,
( 04C8 7B ) $7B tc,
( 04C9 7C ) $7C tc,
( 04CA 7D 34 12 ) $1234 ,X ADC,
( 04CD 7E 34 12 ) $1234 ,X ROR,
( 04D0 7F ) $7F tc,
( 04D1 80 ) $80 tc,
( 04D2 81 12 ) $12 X) STA,
( 04D4 82 ) $82 tc,
( 04D5 83 ) $83 tc,
( 04D6 84 12 ) $12 STY,
( 04D8 85 12 ) $12 STA,
( 04DA 86 12 ) $12 STX,
( 04DC 87 ) $87 tc,
( 04DD 88 ) DEY,
( 04DE 89 ) $89 tc,
( 04DF 8A ) TXA,
( 04E0 8B ) $8B tc,
( 04E1 8C 34 12 ) $1234 STY,
( 04E4 8D 34 12 ) $1234 STA,
( 04E7 8E 34 12 ) $1234 STX,
( 04EA 8F ) $8F tc,
( 04EB 90 FF ) -1 BCC,
( 04ED 91 12 ) $12 )Y STA,
( 04EF 92 ) $92 tc,
( 04F0 93 ) $93 tc,
( 04F1 94 12 ) $12 ,X STY,
( 04F3 95 12 ) $12 ,X STA,
( 04F5 96 12 ) $12 ,Y STX,
( 04F7 97 ) $97 tc,
( 04F8 98 ) TYA,
( 04F9 99 34 12 ) $1234 ,Y STA,
( 04FC 9A ) TXS,
( 04FD 9B ) $9B tc,
( 04FE 9C ) $9C tc,
( 04FF 9D 34 12 ) $1234 ,X STA,
( 0502 9E ) $9E tc,
( 0503 9F ) $9F tc,
( 0504 A0 12 ) $12 # LDY,
( 0506 A1 12 ) $12 X) LDA,
( 0508 A2 12 ) $12 # LDX,
( 050A A3 ) $A3 tc,
( 050B A4 12 ) $12 LDY,
( 050D A5 12 ) $12 LDA,
( 050F A6 12 ) $12 LDX,
( 0511 A7 ) $A7 tc,
( 0512 A8 ) TAY,
( 0513 A9 12 ) $12 # LDA,
( 0515 AA ) TAX,
( 0516 AB ) $AB tc,
( 0517 AC 34 12 ) $1234 LDY,
( 051A AD 34 12 ) $1234 LDA,
( 051D AE 34 12 ) $1234 LDX,
( 0520 AF ) $AF tc,
( 0521 B0 FF ) -1 BCS,
( 0523 B1 12 ) $12 )Y LDA,
( 0525 B2 ) $B2 tc,
( 0526 B3 ) $B3 tc,
( 0527 B4 12 ) $12 ,X LDY,
( 0529 B5 12 ) $12 ,X LDA,
( 052B B6 12 ) $12 ,Y LDX,
( 052D B7 ) $B7 tc,
( 052E B8 ) CLV,
( 052F B9 34 12 ) $1234 ,Y LDA,
( 0532 BA ) TSX,
( 0533 BB ) $BB tc,
( 0534 BC 34 12 ) $1234 ,X LDY,
( 0537 BD 34 12 ) $1234 ,X LDA,
( 053A BE 34 12 ) $1234 ,Y LDX,
( 053D BF ) $BF tc,
( 053E C0 12 ) $12 # CPY,
( 0540 C1 12 ) $12 X) CMP,
( 0542 C2 ) $C2 tc,
( 0543 C3 ) $C3 tc,
( 0544 C4 12 ) $12 CPY,
( 0546 C5 12 ) $12 CMP,
( 0548 C6 12 ) $12 DEC,
( 054A C7 ) $C7 tc,
( 054B C8 ) INY,
( 054C C9 12 ) $12 # CMP,
( 054E CA ) DEX,
( 054F CB ) $CB tc,
( 0550 CC 34 12 ) $1234 CPY,
( 0553 CD 34 12 ) $1234 CMP,
( 0556 CE 34 12 ) $1234 DEC,
( 0559 CF ) $CF tc,
( 055A D0 FF ) -1 BNE,
( 055C D1 12 ) $12 )Y CMP,
( 055E D2 ) $D2 tc,
( 055F D3 ) $D3 tc,
( 0560 D4 ) $D4 tc,
( 0561 D5 12 ) $12 ,X CMP,
( 0563 D6 12 ) $12 ,X DEC,
( 0565 D7 ) $D7 tc,
( 0566 D8 ) CLD,
( 0567 D9 34 12 ) $1234 ,Y CMP,
( 056A DA ) $DA tc,
( 056B DB ) $DB tc,
( 056C DC ) $DC tc,
( 056D DD 34 12 ) $1234 ,X CMP,
( 0570 DE 34 12 ) $1234 ,X DEC,
( 0573 DF ) $DF tc,
( 0574 E0 12 ) $12 # CPX,
( 0576 E1 12 ) $12 X) SBC,
( 0578 E2 ) $E2 tc,
( 0579 E3 ) $E3 tc,
( 057A E4 12 ) $12 CPX,
( 057C E5 12 ) $12 SBC,
( 057E E6 12 ) $12 INC,
( 0580 E7 ) $E7 tc,
( 0581 E8 ) INX,
( 0582 E9 12 ) $12 # SBC,
( 0584 EA ) NOP,
( 0585 EB ) $EB tc,
( 0586 EC 34 12 ) $1234 CPX,
( 0589 ED 34 12 ) $1234 SBC,
( 058C EE 34 12 ) $1234 INC,
( 058F EF ) $EF tc,
( 0590 F0 FF ) -1 BEQ,
( 0592 F1 12 ) $12 )Y SBC,
( 0594 F2 ) $F2 tc,
( 0595 F3 ) $F3 tc,
( 0596 F4 ) $F4 tc,
( 0597 F5 12 ) $12 ,X SBC,
( 0599 F6 12 ) $12 ,X INC,
( 059B F7 ) $F7 tc,
( 059C F8 ) SED,
( 059D F9 34 12 ) $1234 ,Y SBC,
( 05A0 FA ) $FA tc,
( 05A1 FB ) $FB tc,
( 05A2 FC ) $FC tc,
( 05A3 FD 34 12 ) $1234 ,X SBC,
( 05A6 FE 34 12 ) $1234 ,X INC,
( 05A9 FF ) $FF tc,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment