This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: R2,R2,#1 GETCHAR ADD R3,R3,#1 ; Increment the pointer LDR R1,R3,#0 ; R1 gets next character to test BRnzp TEST OUTPUT LD R0,ASCII ; Load the ASCII template ADD R0,R0,R2 ; Convert binary to ASCII TRAP x21 ; ASCII code in R0 is displayed TRAP x25 ; Halt machine ASCII .FILL x0030 PTR .FILL x4000 .END 43 Daily Quiz Answers • Construct the symbol table for the program in Figure 7.2 x3012 ASCII x3004 TEST x3013 PTR x300E OUTPUT x300B GETCHAR Address Symbol...
View Full Document
This note was uploaded on 09/06/2009 for the course BME 303 taught by Professor Ren during the Spring '08 term at University of Texas.
- Spring '08