MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_01CD29E0.20D0F270" This document is a Single File Web Page, also known as a Web Archive file. If you are seeing this message, your browser or editor doesn't support Web Archive files. Please download a browser that supports Web Archive, such as Windows® Internet Explorer®. ------=_NextPart_01CD29E0.20D0F270 Content-Location: file:///C:/CE8B918C/AddressinginDetail.htm Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="windows-1252"

Addressing in Detail

Each instruction in machine code is represented by a series of binary digits. There are two parts to each instruction, an operation (the o= pcode) and the data. The data is what the operation is being applied to, there are= a number of different ways in which this data can be represented, and this is known as addressing. Usually the address of the data is given rather than j= ust the data.

 

Direct Addressing

This is where the address part of the instruction holds the address of where the data is. For example if an instruction was 00110111 and the first 3 bits were the instruction e.g. ADD and the last 5 bits were the address, then the computer would know to add whatever is in the data locati= on 10111 to the accumulator. Most bytes are bigger than 8 bits, more like 32 or 64 b= its. However it does not give access to enough memory, and needs supplementing w= ith other methods.

 

Immediate Addressing

This is when the value in the instruction is not an address at= all but the actual data. This is very simple, although not often used because t= he program parameters cannot be changed. This means that the data being operat= ed on can’t be adjusted and only uses constants.

 

Indirect Addressing

This is where the real address is stored in the memory so the value in the address part of the instruction is pointing to the address of = the data. This method is useful because the amount of space in a location is mu= ch bigger than the space in the address part of the instruction. Therefore we can sto= re larger addresses and use more memory.

 

Relative Addressing

This is direct addressing that does not commence from the star= t of the address of the memory. It begins from a fixed point, and all addresses = are relative to that point.

 

Indexed Addressing

This Is where the address part of t= he instruction is added to the value held in a special register. The special register use is the Index Register (IR). The result of this is then the required address.

 

&nb= sp;

 

------=_NextPart_01CD29E0.20D0F270 Content-Location: file:///C:/CE8B918C/AddressinginDetail_files/themedata.thmx Content-Transfer-Encoding: base64 Content-Type: application/vnd.ms-officetheme UEsDBBQABgAIAAAAIQDp3g+//wAAABwCAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKyRy07DMBBF 90j8g+UtSpyyQAgl6YLHjseifMDImSQWydiyp1X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AAAA//8DAFBLAwQUAAYACAAAACEADdGQn7YAAAAbAQAA JwAAAHRoZW1lL3RoZW1lL19yZWxzL3RoZW1lTWFuYWdlci54bWwucmVsc4SPTQrCMBSE94J3CG9v 07oQkSbdiNCt1AOE5DUNNj8kUeztDa4sCC6HYb6ZabuXnckTYzLeMWiqGgg66ZVxmsFtuOyOQFIW TonZO2SwYIKObzftFWeRSyhNJiRSKC4xmHIOJ0qTnNCKVPmArjijj1bkIqOmQci70Ej3dX2g8ZsB fMUkvWIQe9UAGZZQmv+z/TgaiWcvHxZd/lFBc9mFBSiixszgI5uqTATKW7q6xN8AAAD//wMAUEsB Ai0AFAAGAAgAAAAhAOneD7//AAAAHAIAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVz XS54bWxQSwECLQAUAAYACAAAACEApdan58AAAAA2AQAACwAAAAAAAAAAAAAAAAAwAQAAX3JlbHMv LnJlbHNQSwECLQAUAAYACAAAACEAa3mWFoMAAACKAAAAHAAAAAAAAAAAAAAAAAAZAgAAdGhlbWUv dGhlbWUvdGhlbWVNYW5hZ2VyLnhtbFBLAQItABQABgAIAAAAIQAw3UMpqAYAAKQbAAAWAAAAAAAA AAAAAAAAANYCAAB0aGVtZS90aGVtZS90aGVtZTEueG1sUEsBAi0AFAAGAAgAAAAhAA3RkJ+2AAAA GwEAACcAAAAAAAAAAAAAAAAAsgkAAHRoZW1lL3RoZW1lL19yZWxzL3RoZW1lTWFuYWdlci54bWwu cmVsc1BLBQYAAAAABQAFAF0BAACtCgAAAAA= ------=_NextPart_01CD29E0.20D0F270 Content-Location: file:///C:/CE8B918C/AddressinginDetail_files/colorschememapping.xml Content-Transfer-Encoding: quoted-printable Content-Type: text/xml ------=_NextPart_01CD29E0.20D0F270 Content-Location: file:///C:/CE8B918C/AddressinginDetail_files/filelist.xml Content-Transfer-Encoding: quoted-printable Content-Type: text/xml; charset="utf-8" ------=_NextPart_01CD29E0.20D0F270--