This paper circulates around the core theme of Find the value of Register A for the following program. together with its essential aspects. It has been reviewed and purchased by the majority of students thus, this paper is rated 4.8 out of 5 points by the students. In addition to this, the price of this paper commences from £ 99. To get this paper written from the scratch, order this assignment now. 100% confidential, 100% plagiarism-free.
Question 1.1. (TCO 1) The characteristics of dynamic memory compared to static memory are (Points : 8)
higher density, higher cost.
higher density, lower cost.
lower density, higher cost.
lower density, lower cost.
Question 2.2. (TCO 1) Which of the following is volatile memory? (Points : 8)
ROM
RAM
Flash
All of the above
None of the above
Question 3.3. (TCO 1) With a 24-bit address bus, we get _____ bytes of memory space. (Points : 8)
24M
16M
64M
64K
Question 4.4. (TCO 2) Which bus is bidirectional? (Points : 8)
Address
Data
Control
All of the above
None of the above
Question 5.5. (TCO 2) Which bus carries memory contents? (Points : 8)
Data bus
Address bus
Control bus
None of the above
Question 6.6. (TCO 2) The address bus is __________. (Points : 8)
bidirectional
unidirectional
able to be programmed to be either bidirectional or unidirectional
None of the above
Question 7.7. (TCO 3) To use JSR (or CALL) instruction, we must initialize _____ register. (Points : 8)
X
Y
PC
SP
Question 8.8. (TCO 3) Find the value of Register A for the following program.
LDAA #$55
EORA #$AA (Points : 8)
A = $00
A = $FF
A = $7F
None
Question 9.9. (TCO 3) The dollar sign ($) that precedes numbers in MC9S12 assembly language means that (Points : 8)
it is a hexadecimal number.
it is a decimal number.
it is immediate mode.
All of the above
None of the above
Question 10.10. (TCO 3) The largest value (in hex) that can be loaded into Register A of HCS12 is (Points : 8)
$08.
$255.
$65535.
$FF.
Page 2
Question 8.8.(TCO 8) The following program creates square wave pulses on PB0. What is the duty cycle?
|
ORG
|
$8000
|
|
LDS
|
#$4000
|
|
LDAA
|
#$FF
|
|
STAA
|
DDRB
|
BACK
|
BSET
|
PORTB,%00000001
|
|
JSR
|
DELAY
|
|
JSR
|
DELAY
|
|
BCLR
|
PORTB,%00000001
|
|
JSR
|
DELAY
|
|
JSR
|
DELAY
|
|
BRA
|
BACK
|
(Points : 8)
|
75% 66% 50% 25%
|
|
Page 3
Question 1.1.(TCO 4) Write the assembly code to specify a word constant named num1 that has a value of $5423. a byte constant named num2 that has a value of 15. a word variable named big. (Points : 15)
|