1 / 43

Chapter 3 Instruction Set Architectures

Chapter 3 Instruction Set Architectures. Chapter Outline. Programming Languages Assembly Languages Instruction Set Architecture Design A Relatively Simple ISA ISA of the 8085 microprocessor. Programming Languages. High level languages Assembly languages Machine languages.

stew
Download Presentation

Chapter 3 Instruction Set Architectures

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 3Instruction Set Architectures

  2. Chapter Outline • Programming Languages • Assembly Languages • Instruction Set Architecture Design • A Relatively Simple ISA • ISA of the 8085 microprocessor

  3. Programming Languages • High level languages • Assembly languages • Machine languages

  4. Compilation Process

  5. Assembly Process

  6. Java Applets

  7. Assembly Language Attributes • Instruction types • Data types • Addressing modes • Instruction formats

  8. Instruction Types • Data transfer • Data operation • Program control

  9. Data Types • Numeric (integer, floating point) • Boolean (true, false) • Character (ASCII, Unicode)

  10. Addressing modes - Direct

  11. Addressing modes - Indirect

  12. Addressing modes - Register Direct

  13. Addressing modes - Register Indirect @ R

  14. Addressing modes - Immediate

  15. Addressing modes - Implicit

  16. Addressing modes - Relative

  17. Addressing modes - Indexed

  18. Instruction Formats • More operands = less instructions • More operands = larger words

  19. 3-operand Instructions

  20. 2-operand Instructions

  21. 1-operand Instructions

  22. 0-operand Instructions

  23. Instruction Set Architecture • Instruction set • Register set • Memory access information

  24. ISA Attributes • Completeness • Orthogonality • Register set design

  25. ISA Requirements • Backward compatibility? • Data types/sizes • Interrupts? • Conditional instructions?

  26. A Relatively Simple ISA - Registers • Accumulator AC • General purpose register R • Flag Z

  27. A Relatively Simple ISA - Instruction Set

  28. A Relatively Simple ISA - Instruction Set (continued)

  29. A Relatively Simple ISA - Instruction Formats

  30. Example Relatively Simple Program

  31. Example Relatively Simple Program Code

  32. Example Relatively Simple Program Trace

  33. A Relatively Simple ISA - Analysis • Completeness • Orthogonality • Register set design

  34. The 8085 ISA - Registers • Accumulator A • General purpose registers B, C, D, E, H, L • Stack pointer SP • Flags S, Z, P, CY, AC

  35. The 8085 ISA - Instruction Set • Data movement instructions

  36. The 8085 ISA - Instruction Set • Data operation instructions

  37. The 8085 ISA - Instruction Set • Program control instructions

  38. The 8085 ISA - Instruction Formats

  39. Example 8085 Program

  40. Example 8085 Program Code

  41. Example 8085 Program Trace

  42. The 8085 ISA - Analysis • Completeness • Orthogonality • Register set design

  43. Summary • Programming Languages • ISA Design

More Related