+/EE306

intro to computing

git clone https://git.julia.blue/+/EE306

P1n3appl3Complete project 534640f8

master
629 B25 linesraw
1            .ORIG x3000
2            LD R6, stackpoint
3            LD R0, isr
4            STI R0, intvec
5            LD R0, iebit
6            STI R0, KBSR
7loop        LEA R0, prompt
8            PUTS
9            LD R0, newline
10            OUT
11            JSR DELAY
12            BR loop
13stackpoint  .FILL x3000
14intvec      .FILL x0180
15isr         .FILL x1500
16iebit       .FILL x4000
17KBSR        .FILL xFE00
18prompt      .STRINGZ "Input a capital letter from the English alphabet:"
19newline     .FILL #10
20DELAY       LD  R0, COUNT
21REP         ADD R0, R0,#-1
22            BRnp REP
23            RET
24COUNT       .FILL x7FFF
25            .END