CS 271 Module 1

¡Supera tus tareas y exámenes ahora con Quizwiz!

What is the range of decimal values for a signed BYTE?

-128 to 127

What is the range of decimal values for an unsigned DWORD?

0 to 4,294,967,295

Complete the following unsigned Binary Subtraction: 01011110 - 01001111

00001111 OR 1111

Which of the following binary values is equivalent to hexadecimal 4A2B?

0100 1010 0010 1011

Which of the following binary values is equivalent to hexadecimal 7CBE?

0111 1100 1011 1110

What are the following steps of the instruction execution cycle?

1. Fetch the instruction at the address in the Instruction Pointer into the Instruction Register. 2. Increment the Instruction Pointer to point to next instruction. 3. Decode the instruction in the Instruction Register. 4. If the instruction requires memory access, determine the memory address, and fetch the operand from memory into a CPU register, or send the operand 5. Execute the instruction 6. If the output operand is in memory, the control unit uses a write operation to store the data.

Complete the following Unsigned Binary Addition (answers should also be in Binary): 10111011 + 00100001

11,011,100

Complete the following unsigned Hexadecimal Subtraction: C48A - AACC

19BE

How much memory can be addressed in Real-address mode?

1MB

Convert the following signed SWORD to a decimal value. 0101 1011 1001 0010

23,442

What is the largest signed integer that may be stored in 32 bits?

2^31 - 1

Convert the following string into its ASCII hex representation: 'Magical'

4D 61 67 69 63 61 6C

How much memory can be addressed in Protected mode?

4GB

Convert the following unsigned WORD to a decimal value. 1101 0010 0011 0111

53,815

Complete the following Unsigned Hexadecimal Addition (answers should also be in Hexadecimal): 2C17 + 573B

8,352

Convert the following ASCII hex representation to a character string: 41 77 65 73 6F 6D 65

Awesome

A _______ Architecture's instructions are decoded to micro-programs which are executed by the CPU, whereas a _______ Architecture's instructions are directly executed by the CPU

CISC, RISC

What's the definition of each of the status flags: Carry. Overflow, Sign, Zero, Parity

Carry: set when an unsigned arithmetic operation generates a carry (or borrow) out of the most significant bit of the result Overflow: set when the result of a signed arithmetic operation is too large or too small to fit into the destination Sign: set when the result of an arithmetic or logical operation generates a negative result. Zero: set when the result of an arithmetic or logical operation generates a result of zero. Parity: set if the least-significant byte in the result contains an even number of 1 bits.

What type of tool can convert ARM Assembly to x86 Assembly?

Cross Assembler

(True/False) Assembly Languages are portable.

False

Which of the following are components of the Control Unit?

Instruction Register, Instruction Pointer, Status Register

Language Hierarchy: Rank the following languages from low level (1) to high level (4): ARM Assembly, English, Python, Machine Code

Machine Code, ARM Assembly, Python, English

Which Operation Mode prevents programs from accessing other programs' memory segments?

Protected Mode

What storage unit is the closest/fastest on the chip?

Registers

(True/False) A primary limitation on the speed of internal communication on a machine is the width of the internal bus.

True

(True/False) The status flags are implemented as individual bits within the Status Register.

True

Which utility program reads an assembly language source file and produces an object file?

assembler

A signed integer stores the sign in the _______________________

most significant bit (MSB)

A _________ is a container for data which resides on the CPU chip.

register

The two's complement of an binary value is formed by which process?

reversing (inverting) the bits and adding 1


Conjuntos de estudio relacionados

ISE 2500 Chapter 14: Processing of Polymer Matrix Composites and Rubber

View Set

AP Bio 5th Period Test Questions

View Set

Life Insurance and Annuities- Policy Replacement and Cancellation

View Set

Chapter 8: Ancient Hebrews and the Beginning of Judaism

View Set

ZDN alimentární, respirační onemocnění

View Set