
Systems Architecture
7th Edition
ISBN: 9781305080195
Author: Stephen D. Burd
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Question
Please help me fill out this memory chart using the provided context
![Memory
Write in the decimal values for each address below, and convert to
binary:
RAM16K minimum address (first address) = (
)10
[14] [13] [12] [11] [10] [9] [8] [7] [6] [5]
[4]
[3]
[2]
[1]
[0]
RAM16K maximum address (last address) = (
)10
[14] [13] [12] [11] [10] [9] [8] [7] [6]
[5]
[4]
[3]
[2]
[1] [0]
SCREEN Pointer address (start of screen memory map) = (
)10
[14] [13] [12] [11] [10] [9] [8] [7] [6]
[5]
[4] [3] [2] [1] [0]
Last possible address for screen memory map = (
)10
[14]
[13] [12] [11] [10]
[9] [8] [7]
[6]
[5] [4]
[3]
[2]
[1] [0]
KBD Pointer address = (
)10
[14]
[13] [12] [11] [10]
[9] [8]
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]](https://content.bartleby.com/qna-images/question/46c0fb16-724b-4726-818c-9156075ac6cc/ffd01983-2616-431f-bc27-f12987f9e722/oj48pv_thumbnail.png)
Transcribed Image Text:Memory
Write in the decimal values for each address below, and convert to
binary:
RAM16K minimum address (first address) = (
)10
[14] [13] [12] [11] [10] [9] [8] [7] [6] [5]
[4]
[3]
[2]
[1]
[0]
RAM16K maximum address (last address) = (
)10
[14] [13] [12] [11] [10] [9] [8] [7] [6]
[5]
[4]
[3]
[2]
[1] [0]
SCREEN Pointer address (start of screen memory map) = (
)10
[14] [13] [12] [11] [10] [9] [8] [7] [6]
[5]
[4] [3] [2] [1] [0]
Last possible address for screen memory map = (
)10
[14]
[13] [12] [11] [10]
[9] [8] [7]
[6]
[5] [4]
[3]
[2]
[1] [0]
KBD Pointer address = (
)10
[14]
[13] [12] [11] [10]
[9] [8]
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
![The A-instruction: symbolic and binary syntax
Semantics: Set the A register to value
Symbolic syntax:
@value
Where value is either:
a non-negative decimal constant
≤32767 (=215-1) or
a symbol referring to such a constant (later)
Example:
@21
Effect: sets the A register to 21
Binary syntax: Ovvvvvvvvvvvvvvvv
For example: @21
(symbolic syntax-
assembly code)
0000000000010101
(binary syntax-
machine code)
Symbolic syntax:
dest = comp; jump
Binary syntax:
1 1 1 a c1 c2 c3 c4 c5 c6 d1 d2 d3 j1 j2 j3
dest d1 d2 d3 effect: the value is stored in:
The value is not stored
1 RAM[A]
10D register
0 1 1 RAM[A] and D register
A register
101
1 1 0
comp
c1 c2 c3 c4 c5 c6
0
101 010
null
1
-1
1 1 1 1 1 1
1 1 1 0 1 0
M
D
D
0 0 1 1 0 0
MD
A
M
1 1 0 0 0 0
A
1
ID
0 0 110
1
AM
IA
IA
IM
1 1 0 0 0 1
AD
0
-D
001111
AMD
1 1 1
A
-A
-M
D+1
A+1
M+1
D-1
1 1 0 0 1 1
01 1 1 1 1
1 10 11 1
001110
jump
null
A-1
M-1
110010
JGT
JEQ
D+A
D+M
D-A
D-M
010011
JGE
0 1 1
A-D
M-D
JLT
100
D&A
D&M
ONE
DIA
D❘M
0 1 0 1 0 1
JLE
a-0
a-1
JMP
j1 j2 j3
A register and RAM[A]
A register and D register
A register, RAM[A], and D register
effect:
eno jump
001 if out > jump
0 1 0 if out 0 jump
if out 20 jump
if out < jump
101 if out 0 jump
110
if out se jump
1 1 1 Unconditional jump
Recall the two Assembly Instructions, A and C:
The A-instruction
Syntax:
@value
The C-instruction
Where value is either:
a a non-negative decimal constant or
dest comp; jump
(both dest and jump are optional)
where:
aa symbol referring to such a constant (later)
comp=
Semantics:
dest=null, M, D, MD, A, AM, AD, AMD
⚫Sets the A register to value
⚫Side effect: RAM[A] becomes the selected RAM register
Example: @21
Effect:
Sets the A register to 21
RAM[21] becomes the selected RAM register
e, 1, -1, D, A, ID, IA, D, -A, D+1, A+1, D-1, A-1, D+A, D-A, A-D, D&A, DIA
M, IM, -M,
M+1, M-1, D+M, D-M, M-D, D&M, DIM.
M refers to RAM[A]
jump null, GT, JEQ, JGE, LT, JNE, JLE, JMP
Semantics:
Compute the value of comp
Stores the result in dest;
If the Boolean expression (comp jump 0) is true,
jumps to execute the instruction stored in ROM[A].
if (comp jump 0) jump to execute
the instruction in ROM[A]](https://content.bartleby.com/qna-images/question/46c0fb16-724b-4726-818c-9156075ac6cc/ffd01983-2616-431f-bc27-f12987f9e722/u47m5v_thumbnail.png)
Transcribed Image Text:The A-instruction: symbolic and binary syntax
Semantics: Set the A register to value
Symbolic syntax:
@value
Where value is either:
a non-negative decimal constant
≤32767 (=215-1) or
a symbol referring to such a constant (later)
Example:
@21
Effect: sets the A register to 21
Binary syntax: Ovvvvvvvvvvvvvvvv
For example: @21
(symbolic syntax-
assembly code)
0000000000010101
(binary syntax-
machine code)
Symbolic syntax:
dest = comp; jump
Binary syntax:
1 1 1 a c1 c2 c3 c4 c5 c6 d1 d2 d3 j1 j2 j3
dest d1 d2 d3 effect: the value is stored in:
The value is not stored
1 RAM[A]
10D register
0 1 1 RAM[A] and D register
A register
101
1 1 0
comp
c1 c2 c3 c4 c5 c6
0
101 010
null
1
-1
1 1 1 1 1 1
1 1 1 0 1 0
M
D
D
0 0 1 1 0 0
MD
A
M
1 1 0 0 0 0
A
1
ID
0 0 110
1
AM
IA
IA
IM
1 1 0 0 0 1
AD
0
-D
001111
AMD
1 1 1
A
-A
-M
D+1
A+1
M+1
D-1
1 1 0 0 1 1
01 1 1 1 1
1 10 11 1
001110
jump
null
A-1
M-1
110010
JGT
JEQ
D+A
D+M
D-A
D-M
010011
JGE
0 1 1
A-D
M-D
JLT
100
D&A
D&M
ONE
DIA
D❘M
0 1 0 1 0 1
JLE
a-0
a-1
JMP
j1 j2 j3
A register and RAM[A]
A register and D register
A register, RAM[A], and D register
effect:
eno jump
001 if out > jump
0 1 0 if out 0 jump
if out 20 jump
if out < jump
101 if out 0 jump
110
if out se jump
1 1 1 Unconditional jump
Recall the two Assembly Instructions, A and C:
The A-instruction
Syntax:
@value
The C-instruction
Where value is either:
a a non-negative decimal constant or
dest comp; jump
(both dest and jump are optional)
where:
aa symbol referring to such a constant (later)
comp=
Semantics:
dest=null, M, D, MD, A, AM, AD, AMD
⚫Sets the A register to value
⚫Side effect: RAM[A] becomes the selected RAM register
Example: @21
Effect:
Sets the A register to 21
RAM[21] becomes the selected RAM register
e, 1, -1, D, A, ID, IA, D, -A, D+1, A+1, D-1, A-1, D+A, D-A, A-D, D&A, DIA
M, IM, -M,
M+1, M-1, D+M, D-M, M-D, D&M, DIM.
M refers to RAM[A]
jump null, GT, JEQ, JGE, LT, JNE, JLE, JMP
Semantics:
Compute the value of comp
Stores the result in dest;
If the Boolean expression (comp jump 0) is true,
jumps to execute the instruction stored in ROM[A].
if (comp jump 0) jump to execute
the instruction in ROM[A]
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps

Knowledge Booster
Similar questions
- Most Intel CPUs use the __________, in which each memory address is represented by two integers.arrow_forward(Practice) Although the total number of bytes varies from computer to computer, memory sizes of millions and billions of bytes are common. In computer language, the letter M representsthe number 1,048,576, which is 2 raised to the 20th power, and G represents 1,073,741,824, which is 2 raised to the 30th power. Therefore, a memory size of 4 MB is really 4 times 1,048,576 (4,194,304 bytes), and a memory size of 2 GB is really 2 times 1,073,741,824 (2,147,483,648 bytes). Using this information, calculate the actual number of bytes in the following: a. A memory containing 512 MB b. A memory consisting of 512 MB words, where each word consists of 2 bytes c. A memory consisting of 512 MB words, where each word consists of 4 bytes d. A thumb drive that specifies 2 GB e. A disk that specifies 4 GB f. A disk that specifies 8 GBarrow_forwardIn the ________, memory addresses consist of a single integer.arrow_forward
- A(n) __________ is a storage location implemented in the CPU.arrow_forwardWhy is binary data representation and signaling the preferred method of computer hardware implementation?arrow_forwardHow is an array stored in main memory? How is a linked list stored in main memory? What are their comparative advantages and disadvantages? Give examples of data that would be best stored as an array and as a linked list.arrow_forward
- If a microprocessor has a cycle time of 0.5 nanoseconds, what’s the processor clock rate? If the fetch cycle is 40% of the processor cycle time, what memory access speed is required to implement load operations with zero wait states and load operations with two wait states?arrow_forward_____ is a CPU design technique in which instruction execution is divided into multiple stages and different instructions can execute in different stages simultaneously.arrow_forwardHow does pipelining improve CPU efficiency? What’s the potential effect on pipelining’s efficiency when executing a conditional BRANCH instruction? What techniques can be used to make pipelining more efficient when executing conditional BRANCH instructions?arrow_forward
- A(n) ________________ instruction always alters the instruction execution sequence. A(n) ______________ instruction alters the instruction execution sequence only if a specified Condition is true.arrow_forwardProcessor R is a 64-bit RISC processor with a 2 GHz clock rate. The average instruction requires one cycle to complete, assuming zero wait state memory accesses. Processor C is a CISC processor with a 1.8 GHz clock rate. The average simple instruction requires one cycle to complete, assuming zero wait state memory accesses. The average complex instruction requires two cycles to complete, assuming zero wait state memory accesses. Processor R can’t directly implement the complex processing instructions of Processor C. Executing an equivalent set of simple instructions requires an average of three cycles to complete, assuming zero wait state memory accesses. Program S contains nothing but simple instructions. Program C executes 70% simple instructions and 30% complex instructions. Which processor will execute program S more quickly? Which processor will execute program C more quickly? At what percentage of complex instructions will the performance of the two processors be equal?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage Learning

Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning

C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr

Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,

Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning

C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning