From f1eade728695ed3f52ae4e13f0a91dfe769e8567 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 12 Jan 2020 12:11:15 -0800 Subject: 5883 - drop the `ref` keyword When I created it I was conflating two things: a) needing to refer to just the start, rather than the whole, and b) counting indirections. Both are kinda ill-posed. Now Mu will have just `addr` and `handle` types. Normal types will translate implicitly to `addr` types, while `handle` will always require explicit handling. --- 068error-byte.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '068error-byte.subx') diff --git a/068error-byte.subx b/068error-byte.subx index b3e7e2a0..848ecccb 100644 --- a/068error-byte.subx +++ b/068error-byte.subx @@ -6,7 +6,7 @@ # . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes #? Entry: # manual test -#? # . var ed/eax : (ref exit-descriptor) +#? # . var ed/eax : exit-descriptor #? 81 5/subop/subtract 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # subtract from esp #? 89/copy 3/mod/direct 0/rm32/eax . . . 4/r32/esp . . # copy esp to eax #? # . configure ed to really exit() -- cgit 1.4.1-2-gfad0