
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Q1: Address pins = Log 2 (16x1024)= log 2 (2^4 x2^10 )= log 2 (2^14 )= 14pins Data pins = 11 (being 11-bit cpu) Control pins = CS + WR + RD = 3 pins Q2:
Q3: Interactive elements in VMLAB are 16 keypad, 5 led’s, 3 sliders, speed, temperature, clock control and TTY window, all contained in Control panel. These elements allow user to interact with the program externally to input and monitor outputs.
Q4: FLASH = 8192 Bytes (8K) EEPROM= 512 Bytes SRAM= 512 Bytes
Q5: ?1 = FLASH program memory ?2 = Program counter ?3 = 32x8 Gen Purpose Register ?4 = ALU ?5 = Instruction decoder ??6 = 5 ??7 = 13
Q6: 0xF8 = 1111 1000 0x08 = 0000 1000 C 1 1 ADD 0000 0000 Result = zero C = set (carry generated) N = cleared (result not negative) H = set (half carry generated) V = cleared (no overflow) Z = set (result is zero) S = V eor N = cleared Original SREG 0xD6 1101 0110 After setting and clearing above bits we have SREG = 1110 0011 = 0xE
Q7: See Fig 9. Of ATmega8515 datasheet
Q8: cycles = AxNUM+B Therefore, 658 = 50A+B And 1048=80A+B thus, 30*A=390 => A=13 and B= i.e., loop overhead (B) is 8 cycles, and loop iteration time is 13 cycles.