CS4617 Computer Architecture
Lecture 7: Instruction Set Architectures Dr J Vaughan October 1, 2014
1/27
CS4617 Computer Architecture Lecture 7: Instruction Set - - PowerPoint PPT Presentation
CS4617 Computer Architecture Lecture 7: Instruction Set Architectures Dr J Vaughan October 1, 2014 1/27 ISA Classification Stack architecture: operands on top of stack Accumulator architecture: 1 operand in ACC, implicitly
1/27
2/27
3/27
4/27
5/27
6/27
◮ Little endian: Low-order bytes placed in lower addresses ◮ Big endian: Low-order bytes placed in higher addresses
◮ Access to object of s bytes is aligned if A mod s = 0 7/27
8/27
9/27
10/27
11/27
12/27
13/27
14/27
◮ Code runs independently of load address ◮ Less work for linker 15/27
16/27
17/27
18/27
19/27
◮ Caller saves registers ◮ Callee saves registers
20/27
21/27
22/27
23/27
24/27
25/27
26/27
27/27