ACCT 002 Lecture Notes - Lecture 17: Instruction Set, Complex Instruction Set Computing, Ia-32

8 views4 pages

Document Summary

8 instruction set architectures, part 2: symbolic notation, copy instruction. Fetches per operation: problem: operand override, we destroy content at b, solution is to store b in a new variable c, one-address instructions, have implicit source (called an accumulator, example: Load a: add b, store c, means: Immediate addressing: opcode specifier | operand, add | # - 1. Jnz 10 (simple counting loop: advantages, fast, no additional calculations needed to obtain operand, disadvantages, operand value must be known, operand value cannot be changed. Limited number of bits available: notation: move #200, r0, meaning: [r0] 200, direct addressing / absolute addressing, opcode specifier | memory or register address, add | 13. Jnz | 10: # - 1, advantages, operand separate from instruction, can be changed, full word length available, disadvantages, more memory accesses, more store occupation, notation: add r1,r2, meaning: [r2] [r2] + [r1]

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents