From 9c65697dd8119ec9cee13f57f870b07e305d27ec Mon Sep 17 00:00:00 2001 From: andromeda Date: Fri, 6 Mar 2026 20:33:51 +0100 Subject: bunch of stuff idek --- twasm/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 twasm/README.md (limited to 'twasm/README.md') diff --git a/twasm/README.md b/twasm/README.md new file mode 100644 index 0000000..c7a2786 --- /dev/null +++ b/twasm/README.md @@ -0,0 +1,32 @@ +# twasm + +this will be a self hosted, very minimal subset of 64 bit asm + +### goals + +I want to compile Bootler and Twasm with the Twasm assembler + +### memory map + +``` ++------ 0x00100000 ------+ +| hardware, bios stuff | ++------ 0x00080000 ------+ +| output binary | ++------ 0x00070000 ------+ +| token table | ++------ 0x00060000 ------+ +| | +| | ++------------------------+ +| input | ++------------------------+ this is lined up to a sector +| | and this is less than a sector ++------------------------+ +| assembler | ++------ 0x00010000 ------+ +| bootloader, bios, etc. | ++------------------------+ +``` + +each word represents a token on the token table. -- cgit v1.3.1