diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-06-12 00:13:34 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-06-12 00:13:34 -0700 |
commit | 66bce436b328171cfbfa02c2e16dafc49343de08 (patch) | |
tree | 919fecbcee4cb53e20f33d054042f18a74153e6d /subx/061read-byte.subx | |
parent | bf569a9f6c4b2e59dfe6aa30a9b01d8d77948aa1 (diff) | |
download | mu-66bce436b328171cfbfa02c2e16dafc49343de08.tar.gz |
.
Now that we don't have to edit code to run a single test, delete that commented out fragment everywhere.
Diffstat (limited to 'subx/061read-byte.subx')
-rw-r--r-- | subx/061read-byte.subx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/subx/061read-byte.subx b/subx/061read-byte.subx index 81080393..99e2babe 100644 --- a/subx/061read-byte.subx +++ b/subx/061read-byte.subx @@ -31,14 +31,6 @@ Stdin: # . op subop mod rm32 base index scale r32 # . 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: # run a single test, while debugging -#? e8/call test-read-byte-buffered-multiple/disp32 -#? e8/call test-read-byte-buffered-refills-buffer/disp32 -#? # syscall(exit, Num-test-failures) -#? 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/EBX Num-test-failures/disp32 # copy *Num-test-failures to EBX -#? b8/copy-to-EAX 1/imm32/exit -#? cd/syscall 0x80/imm8 - # return next byte value in EAX, with top 3 bytes cleared. # On reaching end of file, return 0xffffffff (Eof). read-byte-buffered: # f : (address buffered-file) -> byte-or-Eof/EAX |