Metode pengalamatan :
1. Immediate Addressing
2. Direct Addressing
3. Indirect Addressing
4. Register Addressing
5. Register Indirect Addressing
6. Displacement Addressing
7. Stack Addressing
Metode
|
Algoritma
|
Keuntungan
|
Kerugian
|
Immediate
|
Operand = A
|
Tidak ada referensi memori
|
Besaran operand terbatas
|
Direct
|
eA = A
|
Sederhana
|
Ruang alamat terbatas
|
Indirect
|
eA = (A)
|
Ruang alamat besar
|
Referensi memori ganda
|
Register
|
eA = R
|
Tidak ada referensi memori
|
Ruang alamat terbatas
|
Register Indirect
|
eA = (R)
|
Ruang alamat besar
|
Referensi memori ekstra
|
Displacement
|
eA = A + (R)
|
Fleksibel
|
Kompleks
|
Stack
|
eA = top of stack
|
Tidak ada referensi
|
Aplikasi memori terbatas
|
No comments:
Post a Comment