This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: c A.H.Dixon Laboratory Exercise 9 1 ASSEMBLY LANGUAGE PROGRAMMING III 1. The first exercise helps you to better understand the consequences of adopting a von Neu- mann computer architecture when designing the CPU. The HC-12 is an verbatim of such an architecture. Therefore it is possible to interpret a binary sequence stored in memory as either an instruction or as data. (a) Begin by entering the following program into the HC-12 template. The org declarations are included her for reference. Do not enter them unless you have deleted them from the template: org $0000 DATA: dc.b $3F,$96,$86,$5F,$20,$FA org $0800 ENTRY: ldaa #1 bra DATA swi nop (b) Run the simulator, but do not execute the program. Instead, Answer the following questions by examining the simulation windows: i. What binary number is stored at location 0000 ? ii. If what is at location 0000 is interpreted as an instruction opcode, what instruction is it? Refer to the attached reference sheet....
View Full Document
- Spring '08