(TCO 2) The circuit that performs the instruction “ADDA” in the HCS12 CPU is (Points : 8)
(TCO 2) The circuit that performs the instruction “ADDA” in the HCS12 CPU is (Points :
8)
(TCO 3) The HCS12 uses _____. (Points : 8)
(TCO 5) The instruction “subb $100” will (Points : 8)
(TCO 5) For a 16-bit signed number, we can use a maximum of _____ bits for the magnitude of the signed number. (Points : 8)
(TCO 7) Which statement makes the upper two bits of Port B outputs and the lower six inputs? (Points : 8)
(TCO 8) The highest single digit in BCD is _____. (Points : 8)
(TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0xAA ^ 0x55; (Points : 8)
(TCO 4) Write a program sequence that places the value in Address $2000 into Accumulator A and places the value in Address $2001 into Accumulator B. Then, add these values together and store the result in Location $2002. (Points : 15)
(TCO 7) Write assembly instructions to set Bit 3 of variable foo without changing other bits. (Points : 15)
(TCO 5) Write the assembly code to specify an array named src that holds values: 01, 23, 45, 67, 89, and an array of five variables named dst, then write the code to copy the values in array src to array dst. (Points : 25)