Assembler course part 1
@eZine
Published in
Assembler course
· 24 Nov 2022
... ge's internal Machine Language Monitor. Now lets talk about the most important commands: LDA, STA and JMP. LDA : LDA is an abbreviation (Mnemonic) for Load Accumulator. We use LDA to load a one-byte value into .A. The simplest LDA command is LDA #Value. As an example, LDA #$01 flat-out loads the value 1 into .A, LDA #$02 the value 2, and so on for any value $00 through $FF. Note that the "#" sign is required, to specify "immediate" mode. STA : STA is the abbreviation for Store Accumulator. With STA ...