Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

4. Given the values below will be stored in 4 bytes (32 bits), Show how each wou

ID: 3710815 • Letter: 4

Question

4. Given the values below will be stored in 4 bytes (32 bits), Show how each would be stored given the corresponding Endian" format. The values are given in decimal format, convert to hexadecimal. Remember that negative values are stored in two's complement format Value Big Endiarn Little Endian 30,786 -2,905 section 4-Input/Output and Storage Systems (each blank is 1 point. 10 points total 10%) 1. Match the 1/O Control Method with its closest description below Abbrev. O Control Method PI/O IDI/O MMI/O Memory-Mapped l/O DMA Direct Memory Access CI/O Programmed I/O Interrupt-Driven I/O Channel l/O Description CPU offloads I/O transfer to a controller. Provides source, destination and amount to transfer I/O devices share address space with memory. Each device has its own memory block Also called polled /O, the CPU initiates 1/O, then tests device to determine if VO completed I/O Processors (IOPs) can execute programs to control and determine pathways for data The converse of programmed l/O, the CPU performs other work until a device raises a signal Method

Explanation / Answer

1.) Endianness of a achine corresponds to how a multi-byte data type value is stored in memory. Little endian machine stores last byte of the binary representation of the multi-byte data-type, first. Whereas Big endian stores it last.

Decimal : 30786

Hexa-decimal: 0x7842

Big Endian representation:

Little Endian representation:

Decimal : -2905 (Binary 2's complement : 1111010010100111)

Hexa decimal: 0xF4A7

Big endian representation :

Little Endian Representation :

Section 4:

1.)DMA

2.) Memory-mapped I/O uses shared memory between the processor and the peripheral device.

3.) Programmed I/O are also called polled I/O.

4.) Channel I/O : CPU makes an executable instruction format for I/O and these devices then run the I/O progrma decoding the instructions.

5.) Interrupt-driven I/O

0x098 0x099 0x100 0x101 0x102 0x103 78 42
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote