1 / 18

Pertemuan 15 Instruction Set

Pertemuan 15 Instruction Set. Matakuliah : H0344/Organisasi dan Arsitektur Komputer Tahun : 2005 Versi : 1/1. Learning Outcomes. Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Menghubungkan instructions set untuk merealisasikan suatu proses sederhana. Outline Materi.

lapis
Download Presentation

Pertemuan 15 Instruction Set

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. Pertemuan 15Instruction Set Matakuliah : H0344/Organisasi dan Arsitektur Komputer Tahun : 2005 Versi : 1/1

  2. Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : • Menghubungkan instructions set untuk merealisasikan suatu proses sederhana

  3. Outline Materi • Machine Instruction Characteristics • Types of Operands • Types of Operation • Assembly Language • Addressing • Instruction Formats

  4. Machine instruction characteristics Instruction Cycle State Diagram

  5. Machine instruction characteristics Elements of a machine instruction • Operation code • Source operand reference • Result operand reference • Next instruction reference Source and result operands can be in one of three areas: • Main or virtual memory • CPU register • I/O device

  6. Machine instruction characteristics Instruction representation • mnemonics A simple instruction format

  7. Machine instruction characteristics Instruction types The operation X = X + Y X = 513 Y = 514 could be accomplished with three instructions: • Load a register with the contents of memory location 513. • Add the contents of memory location 514 to the register. • Store the content of the register in memory location 513.

  8. Machine instruction characteristics Instruction types We can categorize instruction types as follows: • Data processing • Data storage • Data movement • Control

  9. Machine instruction characteristics Number of address One of the traditional ways of describing processor architecture is in term of the number of address contained in each instruction.

  10. Machine instruction characteristics Instruction set design The most important of these fundamental design issues include the following: • Operation repertoire • Data types • Instruction format • Register • Addressing

  11. Types of operands The most important general categories of data are: • Address • Numbers • Characters • Logical data

  12. Types of operations A useful and typical categories of operations is the following: • Data transfer • Arithmetic • Logical • Conversion • I/O • System control • Transfer of control

  13. Types of operations Transfer of control Branch instructions

  14. Types of operations Transfer of control Skip instruction

  15. Types of operations Transfer of control Procedure call instruction

  16. Types of operations Transfer of control Stock Frame Growth Using Sample Procedures P and Q

  17. Assembly language Problem: N = I + J + K The program consists of four instructions: • Load the contents of location 201 (I) into the Ac. • Add the contents of location 202 (J) into the Ac. • Add the contents of location 203 (K) into the Ac. • Store the contents of the Ac into location 204 (N).

  18. Assembly language Computation of the Formula N = I + J + K

More Related