User Tools

Site Tools


tutorials:assemblers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorials:assemblers [2022/03/14 02:56]
sm5por [Instructions]
tutorials:assemblers [2022/03/14 03:08]
sm5por [Memory addresses]
Line 47: Line 47:
  
 === Effective address calculation === === Effective address calculation ===
 +
 +^  Word  ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^1^1^1^1^1^1^1^1^1^1^2^2^2^2^2^2^2^2^2^2^3^3^3^3^3^3^
 +^:::     ^0^1^2^3^4^5^6^7^8^9^0^1^2^3^4^5^6^7^8^9^0^1^2^3^4^5^6^7^8^9^0^1^2^3^4^5^
 +|Address | |||||||||||||  I  |  X  ||||  Y  ||||||||||||||||||
 +
 +^   Field    ^  Size  ^  Position  ^  Interpretation                          ^
 +|I                 1|     13     |Indirect bit                              |
 +|X                 4|   14--17   |Index register                            |
 +|Y                18|   18--35   |Memory address                            |
  
 === Extended addressing === === Extended addressing ===
Line 59: Line 68:
 |Position    |       6|    0--5    |First (most significant) bit of byte field| |Position    |       6|    0--5    |First (most significant) bit of byte field|
 |Size        |       6|    6--11   |Number of consecutive bits in byte field  | |Size        |       6|    6--11   |Number of consecutive bits in byte field  |
-|I                 1|     13     |Indirect bit                              | + 
-|X                 4|   14--17   |Index register                            | +==== Instructions ====
-|Y                18|   18--35   |Memory address                            |+
  
 ^  Word  ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^1^1^1^1^1^1^1^1^1^1^2^2^2^2^2^2^2^2^2^2^3^3^3^3^3^3^ ^  Word  ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^1^1^1^1^1^1^1^1^1^1^2^2^2^2^2^2^2^2^2^2^3^3^3^3^3^3^
Line 76: Line 84:
 |Device      |       7|    3--9    |Input/output device unit                  | |Device      |       7|    3--9    |Input/output device unit                  |
 |I/O opcode  |       3|   10--12   |See //Input/output instruction set//      | |I/O opcode  |       3|   10--12   |See //Input/output instruction set//      |
- 
-=== Instructions === 
  
 === Processor status flags === === Processor status flags ===
tutorials/assemblers.txt · Last modified: 2023/09/23 22:22 by sm5por