Systems Architecture
7th Edition
ISBN: 9781305080195
Author: Stephen D. Burd
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 2, Problem 4VE
A problem-solving procedure that requires executing one or more comparison and branch instructions is called a(n) __________.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
The computer memory module speed is specified in catalogs or literature either by the speed in MHz (for example DDR4-xxxx) or in MB/s (for example PC4-xxxx) or both.
For example, if the memory speed is DDR4-4700, then the corresponding speed in MB/s is PC4-______
In counter-controlled iteration, a(n)___________ is used to count the number of times a group of instructions should be repeated.
Objective
Learn the basic structure of an assembly program,
Data Memory Map
how to read the 8-bit instruction setreference and
Address Offset
Data
become familiar with a few commands.
Ob00001000
1
Ob10010011
Ob00000101
2
Lab
3
4
Task 1: Walk through the assembly program below
and fill out the data memory map (right). If a value
changes during the program, you only need to
7
record the final value. Unless otherwise stated all
8.
memory locations contain a value of 0.
10
11
12
:Program for task 1
:Definitions
13
14
.EQU myData=0x21
.DEF config=R4
15
Ob10100101
Ob10111001
16
17
:Main
18
.CSEG
19
.ORG Ox0000
20
LDI R16, Ob00001000
MOV RO, R16
21
22
LDI R16, Ob10010011
MOV R1, R16
23
24
LDI R16, Ob01010101
ANDI R16,Ob00001111
25
26
MOV R2, R16
ORI R16, Ob10100101
LDI R17,20
ADD R17, R16
27
28
29
MOV R3, R16
30
MOV config, R17
OUT O, R3
31
32
CBI 0,1
IN R5,0
STS myData, RO
SBI 1, 6
SBI 1,7
LDS R6, myData
33
1.
34
2
35
3
36
4
37
5
38
6.
Chapter 2 Solutions
Systems Architecture
Ch. 2 - Prob. 1VECh. 2 - A(n) __________ is a storage location implemented...Ch. 2 - Prob. 3VECh. 2 - A problem-solving procedure that requires...Ch. 2 - Prob. 5VECh. 2 - Prob. 6VECh. 2 - Prob. 7VECh. 2 - Prob. 8VECh. 2 - The major components of a CPU are the __________,...Ch. 2 - A set of instructions thats executed to solve a...
Ch. 2 - Prob. 11VECh. 2 - Prob. 12VECh. 2 - Prob. 13VECh. 2 - A CPU is a(n) __________ processor capable of...Ch. 2 - Prob. 15VECh. 2 - The CPU __________ program instructions one at a...Ch. 2 - Most programs are written in a(n) __________, such...Ch. 2 - Prob. 18VECh. 2 - Prob. 19VECh. 2 - Prob. 20VECh. 2 - Prob. 21VECh. 2 - Prob. 22VECh. 2 - Prob. 23VECh. 2 - Prob. 1RQCh. 2 - What shortcomings of mechanical computation did...Ch. 2 - Prob. 3RQCh. 2 - What is a CPU? What are its primary components?
Ch. 2 - What are registers? What are their functions?
Ch. 2 - Prob. 6RQCh. 2 - Prob. 7RQCh. 2 - Prob. 8RQCh. 2 - How does a supercomputer differ from a mainframe...Ch. 2 - Prob. 10RQCh. 2 - Prob. 11RQCh. 2 - Prob. 12RQCh. 2 - How can a computer system be tuned to a particular...Ch. 2 - What characteristics differentiate application...Ch. 2 - In what ways do system software make developing...Ch. 2 - Why has the development of system software...Ch. 2 - Prob. 17RQCh. 2 - Tables 2.2 and 2.3 will probably be out of date by...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- A CPU is a(n) __________ processor capable of performing many different tasks simply by changing the program.arrow_forwardThis procedure counts the amount of CPU instructions required by each statement in the source code.arrow_forwardThe process of repeating a set of instructions a certain number of times is known as ____________iteration.arrow_forward
- I need an article that evaluates different CPU scheduling algorithms.arrow_forwardan improvement in the CPU's ability to execute instructions quicklyarrow_forwardThe assembly language instruction ASLA is _______ when converted into hexadecimal machine language: (put one space between bytes if the instruction is not unary)arrow_forward
- MUL & DIV instruction in Assembly Language Table 1 EAX EBX ECX EDX 10H 20H 2H 0H Refer to Table 1 above for the following tasks.Write your own code in Visual Studio 2019 to execute the instruction, then fill in the blanks with the correct value of the registers. Also, note the changes. **Note: Always start with the initial value of the registers given in Table 1 above for each question (a-f) This means you have to execute only one instruction per debugging session e.g. execute MUL BX and then debug and get the values of the registers and then stop. Then start again with MUL CX. Answer all questions in 32bit format XXXX XXXX e.g. 0000 1000 with only one white space in between a. MUL BX EAX EBX ECX EDX Answer Answer Answer Answer b. MUL CX EAX EBX ECX EDX c. MUL AX EAX EBX ECX EDX d. DIV BX EAX EBX ECX EDX e. DIV CX EAX EBX ECX EDX f. DIV AX…arrow_forwardAssembly Language True or False: a. Given the way OR( ... ) works, the most likely outcome is a false result (that is, the value 0), not a true result (that is, the value 1). True or False? b. When the bits of register CL are changed by an HLA programmer, no other register will find its bits changed as a result. True or False?arrow_forwardA stall in the pipeline is indicated by the compiler using a(n) __________ instruction. branch exception nop delayarrow_forward
- Computer Machine Language please The machine language form of a jump instruction (j) is 00001001001100101000110001010110. The address of the jump instruction (PC) is 0x20211020. What address this the program will jump to?arrow_forwardInstructions: 1. Construct a simple assembly language program that would satisfy the following conditions: The program should accept a single-digit input, from 0 to 9. Compare the single-digit input to 5. Prompt the user whether the input is below, equal, or above the value 5. Utilize compare and jump instructions. The program should contain at least one (1) procedure that is called and executed. Add comments in the important sections/code segments of your program. Note: It is highly recommended to use the Emu8086 Emulator in writing the program. If the emulator is currently not available, you may utilize any online assembler/compiler/emulator, as long as your program satisfies the six (6) conditions stated above. The instruction set of online assemblers/compilers/emulators may vary. 2. Explain the structure of your program using 4-7 sentences. 3. Include a screenshot of the output of your program. 4. Include in your answer sheet all the assembly language code of your program.arrow_forwardinterrupts are events that alter the normal flow of execution. Give 5 different events that could cause an interrupt.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Instruction Format (With reference to address); Author: ChiragBhalodia;https://www.youtube.com/watch?v=lNdy8HREvgo;License: Standard YouTube License, CC-BY