From bd61a20af859a07f18aebea0d13c52d9e6b104bd Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 15 Oct 2017 22:55:25 -0700 Subject: 4070 --- subx/Readme.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'subx') diff --git a/subx/Readme.md b/subx/Readme.md index 4f6f6c24..d898cde9 100644 --- a/subx/Readme.md +++ b/subx/Readme.md @@ -2,6 +2,17 @@ Bytecode interpreter for a subset of the 32-bit x86 ISA. +* only instructions operating on the 32-bit E*X registers +* assuming a flat address space, completely ignoring segment registers +* ignoring the carry flag; arithmetic operations always operate on signed numbers + (while bitwise operations always operate on unsigned numbers) + +Basically a minimum basis set that a compiler for Mu can target. This isn't +meant to run arbitrary binaries, just those generated by our compiler, +allowing better tests for the compiler, access to processor/memory state +without getting bogged down in details of the ELF format, ABI, STABS debugging +format, etc., etc. + To run tests: ``` -- cgit 1.4.1-2-gfad0