+/EE460N
computer architecture
git clone https://git.julia.blue/+/EE460N
4f87c13
master
1;This program counts from 10 to 0 2.ORIG x3000 3LEA R0 , TEN ;This instruction will be loaded into memory location x3000 4LDW R1 , R0 , #0 5START ADD R1 , R1 , #-1 6BRZ DONE 7BR START 8;blank line 9DONE TRAP x25 ;The last executable instruction 10TEN .FILL x000A ;This is 10 in 2's comp, hexadecimal 11.END ;The pseudo-op, delimiting the source program 12