68hc11 assembly (first steps) - sorting
问题 I just fell in love with this particular microcontroller, 68hc11 has an amazing architecture. I'm not an expert but i want to improve, assembly is kinda hard but i want to program this microcontroller. This assembly code will execute from $100, will allocate a 200-byte array at $800, and will initialize that array with the values 200, 199, … 1. (descending order). Vreset equ $FFFE RAM equ $800 ROM equ $100 ARRAY_SIZE equ 200 org RAM array rmb ARRAY_SIZE org ROM Start ldx #array ldaa #ARRAY