ICS 132 Quiz 2 & 3 Compilation

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

"What will be the value of after implementing logical not A1, where A1 is equal 1100 1110"

0011 0001

"What will be the value of after implementing arithmetic shift left twice A1, where A1 is equal 1100 1110"

0011 1000

"What will be the value of after implementing Circular shift right once A1, where A1 is equal 1100 1110"

0110 0111

" What will be the value of R1 with the given RTL code R1 ? R1 ? R2, where R1 is 1011 0110, R2 is 1100 0111."

0111 0001

Given the logical address 0210:20A2, the physical address would be __ (2 points)

041A2

1 Exabyte os equivalent to __

1,000,000 Gigabytes

" What will be the value of R1 with the given RTL code R1 ? R1 ? R2, where R1 is 1011 0110, R2 is 1100 0111."

1000 0110

"What will be the value of after implementing Circular shift left once A1, where A1 is equal 1100 1110"

1001 1101

What will be the value of after implementing arithmetic shift right twice A1, where A1 is equal 1100 1110"

1111 0011

" What will be the value of R1 with the given RTL code R1 ? R1 ? R2, where R1 is 1011 0110, R2 is 1100 0111."

1111 0111

Given the memory map below, if the register uses 32 bits, what would be the data value using Intel processors? (2 points) Address Data 0100 20 0101 9A 0102 FF 0103 12

12FF9A20

Given the code below, what is the FINAL value of AX? (2 points) MOV AX, 0940 MOV BX, 0F20 ADD AX, BX

1860

"If A = 1001 1001 0000 0010, show the result of the logical shift right operation in hex"

4C81 4C81h 4C81 h

"If A = 1001 1001 0000 0010, show the result of the digital shift left operation in hex"

9020 9020h 9020 h

"If there is a carry from d3 to d4 of an operation, this bit is set; otherwise, it is cleared"

AF Auxiliary Flag Auxiliary carry flag

Used in input, output and arithmetic operations

AX

Facilitates referencing parameters, which are the data and addresses that a program passes through the stack

BP

The only GPR that can be used as an index to extend addressing

BX

"If A = 1001 1001 0000 0010, show the result of the arithmetic shift right operation in hex"

CC81 CC81h CC81 h

"This flag is set whenever there is a carry out, either from d7 after an 8 bit operation, or from d15 after a 16 bit data operation."

CF Carry Flag

Used during instruction fetches

CS

Referred to as counter register

CX

This bit is used to control the direction of string operations

DF Direction Flag

Required for some string operations and is associated with the ES register

DI

Most often used by default when reading or writing data

DS

Points to data in input/output operations

DX

It is a collection of digital hardware modules.

Digital system

Used for anything the programmer wishes

ES

Used to indicate results of arithmetic and logical instructions

FR

Contains the offset address of the next instruction that is to be executed

IP

These are operations on data stored in registers.

Micro operations micro-ops Micro-operations

This flag is set whenever the result of a signed number operation is too large.

OF Overflow Flag

It is a concise and precise means of describing those operations.

RTL Register transfer language

Required for some string operations and is associated with the DS register

SI

Permits the system to access data in the stack segment

SP

Used during stack operations such as subroutine calls and returns

SS

"When this flag is set, it allows the program to single step, meaning to execute one instruction at a time."

TF Trap Flag

Byte ordering which reads data starting from the most significant byte

b. big endian

A computer process follows these steps in succession:

fetch-decode-execute

Byte ordering which reads data starting from the least significant byte

little endian

For 16-bit register AX, the bits 0 to 7 are considered

lower order (AL)


Set pelajaran terkait

Mkt300 Quiz Questions Final Exam

View Set

Chapter 9: Water in Plants - Connect Assignment

View Set