This is an assembler program for the MC6800 microproccesor. When compiling, the existence of mnemonics and the validity of the used addressing modes are checked. The compiler generates a binary file starting with the first program address (2 bytes), the last address (2bytes) and the data length in bytes (2 bytes), and followed by the program and data bytes. This datastring can be send via a selectable serial port.
Special characters
';' comments => ; this is a comment
'@' start addres program => @B900
'#' data block => #B4,56,F7,22,01,C4,B4,9A
Addressing Modes Syntax
immediate: ADDA #$20 ; add $20 to value in accu A
direct: CMPB $14 ; compare value in accu B with value at memory location $0014
extended: LDAA $E2A0 ; load accu A with value at memory location $E2A0
index: ROR I,$36 ; rotate right the value in memory location pointed by the index-register increased with $36
implied: CLRA ; clear accu A
relative: BEQ $34 ; branch if equal to address calculated by address next instruction + the offset $34 (two's complement)
Show an example code. Caution! This will remove the current visual code.