[go: up one dir, main page]

0% found this document useful (0 votes)
4 views3 pages

CPU Lab Answers

Uploaded by

soromado6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

CPU Lab Answers

Uploaded by

soromado6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Answers from: Initialization - lab work

4. D/C# level: High

4. ADS# level: High

5. Do the levels agree with Table 1? Yes

6. W/R# level: Low

6. M/IO# level: Low

6. BE0# level: Low

6. BE1# level: Low

6. BE2# level: Low

6. BE3# level: Low

7. Do the levels agree with Table 1? Yes

9. What happens to the logic probe LEDs after releasing RESET? A pulse is
observed, indicating the start of a bus cycle.

11. W/R# level after releasing RESET: Low

12. M/IO# level after releasing RESET: High

13. D/C# level after releasing RESET: Low

14. Bus cycle type based on W/R#=0, M/IO#=1, D/C#=0: Memory code read

16. What is the 32-bit address? FFFF FFF0H

17. What are the two lower data bytes? EA and ?? (EA is a jump opcode)
Answers from: Using CPU Instructions - lab work
3. What did the instruction at 02000 do? Loaded AX with 8877H

4. Value of AX: 8877H

5. What did the instruction at 02003 do? Stored AX (8877H) to memory address
6050H

6. Data at address 06050H: 88 77

7. What did the instruction at 02006 do? Loaded AX with the value from memory
address 6050H

8. Address after executing JMP 2003H: 02003

9. Why this address appears? Because JMP F8 is a short jump backward to 02003

5. Conclusion from address values in Part 2: Address values confirm loop


execution between instructions

7. Conclusion from W/R# signal values: W/R# signal toggles correctly with write
and read operations

5. Is the program in an odd or even loop? Odd

6. Instruction at W/R# high: MOV DS:[5004H],EAX

7. Next instruction: MOV EBX, DS:[5000H]

8. Instruction at 05004: MOV EBX, DS:[5004H]

9. Next instruction: JMP back to MOV DS:[5000H],EAX

10. Data on data bus: AAAA AAAA

11. Is it an odd or even loop? Even

6. Was hex 00 moved to DL? Yes

7. Was 6000 moved to BX? Yes

8. Was hex 00 moved to 06000? Yes

9. Was BX incremented to 6001? Yes

10. Address on display now: 04007


11. Was hex 00 moved to 06001? Yes

12. What will the program do? Reset BX and begin comparing data

14. What does CMP DL,[BX] do? Compares contents of 06000 with DL

15. Was data at 06000 incremented to 01? Yes

16. What does CMP DL,[BX] do? Compares contents of 06001 with DL

18. What does INC DL do? Increments DL to next test pattern

19. Value of DL: 01

22. What happens in next test loop? Test next value (01) against memory
locations

25. Tested address range: 06000 to 06FFF

27. Address displayed when program stops: 06FFF or error trap location

28. Was error detected? No (if program ends normally)

29. Data between 06000 and 06FFF: 00 to FF range

32. Address displayed when run from 400B: 06001 or faulty location

33. Was error detected? Yes

34. Register with faulty address offset: BX

35. Value of BX: 06FCC

You might also like