F453 Low Level Languages - Types Of Addressing

Beschreibung

Karteikarten am F453 Low Level Languages - Types Of Addressing, erstellt von harvs899 am 05/05/2014.
harvs899
Karteikarten von harvs899, aktualisiert more than 1 year ago
harvs899
Erstellt von harvs899 vor mehr als 10 Jahre
132
0

Zusammenfassung der Ressource

Frage Antworten
What type of addressing has the value to be used in the operand? Immediate, for example ADD 0011 could mean add 3 to the value in the accumulator.
What are the disadvantages of immediate addressing? The value can not be reused between instructions, i.e the value would have to be repeated across every instruction that needs it. Also it is difficult to change the value.
What type of addressing points to the location in memory that holds the data? Direct addressing.
What is a limitation of direct addressing? The amount of memory addresses which can be utilised is dependent on the number of bits used for the operand of the instruction, e.g a 16 bit operand would allow 64kB of memory.
What is indirect addressing? The operand points to a memory location which points to another memory location which contains the value.
Why is indirect addressing useful? It allows access to a larger number of memory addresses.
What is indexed addressing? A special register called the index register is used, this is incremented and added to a base address each time it is referred to.
What data structure is indexed addressing most useful for? Arrays.
What type of addressing uses an index register? Indexed addressing.
What is relative addressing? All memory addresses are relative to a base address (the start of the program).
Why is relative addressing required? We don't know where a program will be loaded into memory during execution, so all memory addresses would need to change. However the locations are still in the same place relative to the base address.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

A level Computing Quiz
Zacchaeus Snape
Computing Hardware - CPU and Memory
ollietablet123
Psychology A1
Ellie Hughes
Using GoConqr to teach French
Sarah Egan
Using GoConqr to teach science
Sarah Egan
Using GoConqr to study geography
Sarah Egan
Using GoConqr to study Economics
Sarah Egan
Using GoConqr to study English literature
Sarah Egan
Using GoConqr to learn French
Sarah Egan
A Level: English language and literature techniques = Structure
Jessica 'JessieB
A Level: English language and literature technique = Dramatic terms
Jessica 'JessieB