
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
thumb_up100%
![1. What instruction (mov, Idr, Idrb, str, strb) is used to...
a. Put a byte from memory into a register
b. Put a register value into another register
c. Put the address of a label into a register
d. Put a register value into a memory address
e. Put an immediate into a register
2. Which instruction (move, load, or store) lists the source followed by the destination?
3. What punctuation is used to indicate you're reading the address of a label?
4. What punctuation is used to indicate the register value is to be treated as an address?
5. Assuming the following is at the start of the data section:
Array2 dcd 45, 23, 67, 31
a. What would be in r0 after 1dr r0, Array2 executes?
b. What would you add to rO to have the address point to the 2nd value in the array?
6. (Bonus worth 0.2 points) Given our simulator's configurations, etc., if r2 = 0x0800001C,
what value(s) in memory would be changed by str r1, [x2] ?](https://content.bartleby.com/qna-images/question/b4f51290-b33e-45ac-98f6-11451c46cff3/37973aa6-3aa8-4c87-bc40-822f3229776a/visk8b_thumbnail.png)
Transcribed Image Text:1. What instruction (mov, Idr, Idrb, str, strb) is used to...
a. Put a byte from memory into a register
b. Put a register value into another register
c. Put the address of a label into a register
d. Put a register value into a memory address
e. Put an immediate into a register
2. Which instruction (move, load, or store) lists the source followed by the destination?
3. What punctuation is used to indicate you're reading the address of a label?
4. What punctuation is used to indicate the register value is to be treated as an address?
5. Assuming the following is at the start of the data section:
Array2 dcd 45, 23, 67, 31
a. What would be in r0 after 1dr r0, Array2 executes?
b. What would you add to rO to have the address point to the 2nd value in the array?
6. (Bonus worth 0.2 points) Given our simulator's configurations, etc., if r2 = 0x0800001C,
what value(s) in memory would be changed by str r1, [x2] ?
Expert Solution

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

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
- Assume a CPU with a fixed 32-bit instruction length has the following instruction format:opcode mode [operand1] [operand2] [operand3]The mode encodes the number of operands and each operand’s mode. For instance, one mode indicates three registers, another indicates two registers and an immediate datum, another indicates a main memory reference, etc. Assume there are 94 instructions and 22 modes. Answer the following.a. One mode indicates three registers. How many registers can be referenced in this mode?b. One mode indicates two registers and an immediate datum in two’s complement. Assuming there are 32 registers, what is the largest immediate datum that can be referenced?c. One mode has a destination register and a source memory address (an unsignednumber). Assuming 16 registers, what is the largest memory reference available?d. One mode has two memory addresses, both using base displacement. In both, the basesare stored in index registers and the displacements are specified in the…arrow_forward1.Address of the opcode; 5CD 2.Address of the operand for the operation; 5DE 3.None of these 4.Address of the operand for the operation; 5CDarrow_forward*3. Answer the following questions for the machine language instructions 6AF82C and D623D0. (a) What is the opcode in binary? (b) What does the instruction do? (c) What is the register-r field in binary? (d) Which register does it specify? (e) What is the addressing-aaa field in binary? (f) Which addressing mode does it specify? (g) What is the operand specifier in hexadecimal? 4. Answer the questions in Exercise 3 for the machine language instructions 7B00AC and F70BD3.arrow_forward
- Part 2: Status Flags There are more registers inside of the CPU that we don't have direct access to. One of these is the EFLAGS register. This register holds the values of the flags used in the CPU's operation. Flags are just single bit values that represent the state of the processor - usually 1 means a setting is on or true, and 0 means it is off or false. If a flag has the value 1, we say the flag is set. If it has the value 0, we say it is clear. "Setting" a flag means setting it's value to 1, and "clearing" a flag means setting its value to 0. The status flags are flags that show the outcomes of certain operations. These can be used to check the state of the computations and react accordingly. For example, the carry flag is set if the result of an unsigned addition is too large to fit into the same space as the numbers used during the addition. Look at the following addition operation: 11111111 + 00000001 = 100000000 Note that the result of the addition is 9 bits long, even…arrow_forwardWhat does the LEA instruction write into a register? The value in a register None of the options O The value at an address O The address of a register O The address of a labelarrow_forwardDoes the memory fetch procedure always happen instantly when a computer wants data? So what is the point of it?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

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

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education