Tiny 6502 Assembler/Disassembler
; This is example code, feel free to modify it or enter your own. ; Alternatively, you can use the disassembly box below ; by inputting hexadecimal bytes, separated by spaces. ; Press Save Binary to get a binary file. * = 49152 ; Base address that you want NOP ; Implied ASL ; Accumulator LDA #$01 ; Immediate LDA $40 ; Zero Page STA %00111111,X ; Zero Page,X LDX $40,Y ; Zero Page,Y BEQ here ; Relative STA $0200 ; Absolute STA here,X ; Absolute,X here: LDA $1000,Y; Absolute,Y JMP ($FFFF) ; Indirect JMP (here) got: LDA ($40,X) ; Indexed Indirect (X) LDA ($40),Y ; Indirect Indexed (Y)
Assemble
Disassemble
Save Binary