모리스마노 컴퓨터구조 11장 연습문제 해답 (컴퓨터 공학과 꿀팁!!)

모리스마노 컴퓨터구조 11장 연습문제 해답 (컴퓨터 공학과 꿀팁!!)



컴퓨터구조 연습문제, 모리스 마노 챕터11 80[모리스마노] 컴퓨터구조 연습문제 80p


11-3.

Character printer; Line printer; Laser printer; Digital ploller; Graphic display;

voice output; Digital to analog converter; Instrument indicator.


11-5.

See text discussion in see, 11-2


11-6.

(a) status command-checks status of flag bit.

(b) control command-moves magnetie head in disk.

(c) status command-checks if device power is on.

(d) control command-moves paper position.

(e) data input command-reads value of a register.


컴퓨터구조 연습문제, 모리스 마노 챕터11 81[모리스마노] 컴퓨터구조 연습문제 81p


컴퓨터구조 연습문제, 모리스 마노 챕터11 82[모리스마노] 컴퓨터구조 연습문제 82p


11-10.

1. output flag to indicate when transmiter register is empty.

2. input flag to indicate when receiver register is full.

3. enable interrupt if any flag is set.

4. parity error; (5) framing error; (6) overrun error.


11-11.

10 bits : start bit + 7 ASCII + parity + stop bit.


컴퓨터구조 연습문제, 모리스 마노 챕터11 83[모리스마노] 컴퓨터구조 연습문제 83p


11-14.

Intial  F = 0011  output <- R4

After delete=1  F=0010

After delete=0  F=0001  R4 <- R3

After insert=1  F=1001  R1 <- input


11-16.

Flag=0 if data register full (after CPU writes data)

Flag=1 if data register empty (after the transfer to device)


When flag goes to 0, enable "Data ready" and place data on I/O bus. when "Acknowledge" is enabled, set the flag to 1 and disable "ready" handshake line.


컴퓨터구조 연습문제, 모리스 마노 챕터11 84[모리스마노] 컴퓨터구조 연습문제 84p


11-19

If an interrupt is recogniged in the middle of an instiction execution, it is necessary to save all the information from control registers in addition to processor registers. The state of the CPU to be saved is more complex.


컴퓨터구조 연습문제, 모리스 마노 챕터11 85[모리스마노] 컴퓨터구조 연습문제 85p


11-23.

Same as Fig 11-14. Needs 8 AND gates and an 8 x 3 decoder


11-26.

set the mask bit below to the interrupt source so it can interrupt again.

At the beginning of the service rectine, check the value of the return address in the stack. If it is an address nothing the source service program, then the same source has interrupted again while being serviced.


11-27.

The service routine checks the flags in seeve to determine which one is set, Thet first flag that is checked has the highest priority level, The priority level of the other sources corresponds to the order in which the flags are checked.


컴퓨터구조 연습문제, 모리스 마노 챕터11 86[모리스마노] 컴퓨터구조 연습문제 86p


컴퓨터구조 연습문제, 모리스 마노 챕터11 87[모리스마노] 컴퓨터구조 연습문제 87p


11-32.

There are 26 letters and IO numerals.

26 x 26 +26 x 10 = 936 possible addresses.


11-35.

32 bits between two flags; 48 bits including the falgs.


11-36.

Information to be sent(1023) : 01111111111

After gero in sertion information transmitted : 01110111110

Information received after os deletion : 01111111111


모리스마노 컴퓨터구조 11장 연습문제 해답 (컴퓨터 공학과 꿀팁!!)

댓글(0)

Designed by JB FACTORY