********************************************************** * Filename: sim_hc12.asm * The assembler directives below were modified slightly * from example0.asm for this example ********************************************************** COPCTL equ $0016 ; COP Control Register org $8001 num2 dc.w $1234 org $4000 results ds.b 3 ********************************************************** org $1100 ldaa #0 ; Turns of the COP for the staa COPCTL ; simulator. ldd num2 std results end2 bra end2