Sie sind auf Seite 1von 3

Mikroposesor dan mikrokontroler

Chapter 2
No.2 the 80286 adresses registers that are 8 and 16 bits wide
No.5 which register hold a count for some instructions ? pada multipurpose
registers lebih tepatnya pada CX untuk 16-bit atau ECX untuk 32 bit atau RCX
untuk 64 bit
NO. 8 will an overflow occurs if signed FF H is added to a signed 01 H ?
FF H = 1111 1111 B = -1 D

01 H = 0000 0001 B = +1 D

Terdapat 8 bit dengan bit terdepan merupakan signed bit dan 7 bit lainnya
adalah magnitude bit. Jadi range nilainya dari -64 sampai +63. Kemudian coba
perhitungannya bit nya
1111 1111 + 0000 0001 = 1 0000 0000
Pada hasil diatas terdapat carry out dan hasil yang terbaca adalah 0000
0000 B dimana jawaban tersebut tepat dan dapat dikatakan hitungan diatas tidak
terjadi overflow
N0. 11 Which micropocessor contain an FS segment register ?
FS Segment register terdapat pada microprosessor 80386 dan versi yang
lebih baru, yang terdapat pula GS segment register pada microprocessor
tersebut
No. 14 Find the memory addresses of the next instruction executed by the
microprocessor, when operated in the real mode ,for the following CS:IP
combinations,
(a) CS = 1000H and IP = 2000H
Memory adress of the next intruction = 1000 x 10 + 2000 = 12000 H
(b) CS = 2000H and IP = 1000H
Memory adress of the next intruction = 2000 x 10 + 1000 = 21000 H
(c) CS = 2300H and IP = 1A00H
Memory adress of the next intruction = 2300 x 10 + 1A00 = 24A00 H
(d) CS = 1A00H and IP = B000H
Memory adress of the next intruction = 1A00 x 10 + B000 = 25000 H
(e) CS = 3456H and IP = ABCDH
Memory adress of the next intruction = 3456 x 10 + ABCD = 3F12D H

No. 17 Which 32-bit register or registers is/are used to hold an offset adress for
data segment data in the pentium 4 microprocessor ?
EBX (base index) dan EAX (accumulator)pada multipurpose register
No. 20 Determine the memory location addressed by the following real mode
80286 register combinations :
(a) DS = 1000H and DI = 2000H
Memory adress = 1000 x 10 + 2000 = 12000 H
(b) DS = 2000H and SI = 1002H
Memory adress = 2000 x 10 + 1002 = 21002 H
(c) SS = 2300H and BP = 3200H
Memory adress = 2300 x 10 + 3200 = 26200 H
(d) DS = A000H and BX= 1000H
Memory adress = A000 x 10 + 1000 = A1000 H
(e) SS = 2900H and SP = 3A00H
Memory adress = 2900 x 10 + 3A00 = 2CA00 H
Chapter 9
No. 29 if the CLK input to 8086/8088 is 4 MHz, how long is one bus cycle ?
f = 4 MHz , one bus cycle = 4 x 1/f = 1 s
No. 32 Briefly describe purpose of each T state listed
(a) T1
a. address of memory or I/O location is sent out via the address bus
and the address/data bus connections.
b. control signals are also output, indicating whether the address bus
contains a memory address or an I/O device (port) number
(b) T2

a. Issue RD or WR signal, DEN , and in case of WRITE, data

to be written appear on the data bus,


b. READY is sampled at the end of T2.
(c) T3
a. if low at T2, T3 becomes a wait state (Tw)
b. this clocking period is provided to allow the memory time to access
data
c. In case of READ, the data bus is sampled at the end of T3.
(d) T4
a. Data are written
b. All bus signals are deactivated in preparation for the next bus cycle
(e) TW
a. READY is sampled in the middle of TW

b.

Extra period between T2 and T3 for waiting READY become high

Das könnte Ihnen auch gefallen