Compare commits

..
3 Commits
Author SHA1 Message Date
nicolabelluti cecaf1cd31 Added more informations on LC-2 interrupts and startup 2026-08-31 16:37:38 +02:00
nicolabelluti 9a85d3193f Added LC-2 memory page 2026-08-31 16:34:56 +02:00
nicolabelluti 8c747c5743 Added main LC-2 page 2026-08-31 16:34:23 +02:00
+6 -6
View File
@@ -24,12 +24,12 @@ system, not the ISA itself. The ISA only defines the trap vector table at
`0x0000 - 0x00FF`. Everything else, from the location of the OS to the boundary `0x0000 - 0x00FF`. Everything else, from the location of the OS to the boundary
of userspace, is a software convention rather than a hardware requirement. of userspace, is a software convention rather than a hardware requirement.
| Range | Purpose | | Range | Purpose |
|:-------------------:|:--------------------------------------------------------------------------------------------------------------:| |:-------------------:|:-----------------------------------------------------------------------------:|
| `0x0000` - `0x00FF` | Trap Vector Table[^lc2-trap] / [Interrupt Vector Table](http://localhost:1313/isa-docs/lc-2#interrupt-support) | | `0x0000` - `0x00FF` | Trap Vector Table[^lc2-trap] / [Interrupt Vector Table](..#interrupt-support) |
| `0x0100` - `0x2FFF` | Operating System[^matt-postiff-guide] | | `0x0100` - `0x2FFF` | Operating System[^matt-postiff-guide] |
| `0x3000` - `0xCFFF` | Userspace | | `0x3000` - `0xCFFF` | Userspace |
| `0xD000` - `0xFFFF` | Device Registers | | `0xD000` - `0xFFFF` | Device Registers |
[^lc2-trap]: {{< cite-ics edition="1" chapter="Appendix A.3 The Instruction Set" page="448" page-end="449" >}} [^lc2-trap]: {{< cite-ics edition="1" chapter="Appendix A.3 The Instruction Set" page="448" page-end="449" >}}
[^matt-postiff-guide]: {{< cite-web [^matt-postiff-guide]: {{< cite-web