diff options
-rw-r--r-- | subx/062write-byte.subx | 2 | ||||
-rw-r--r-- | subx/063print-byte.subx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/subx/062write-byte.subx b/subx/062write-byte.subx index b73aba62..d6a3a90b 100644 --- a/subx/062write-byte.subx +++ b/subx/062write-byte.subx @@ -35,7 +35,7 @@ Stdout: cd/syscall 0x80/imm8 # Write lower byte of 'n' to 'f'. -write-byte: # f : (address buffered-file), n : num -> <void> +write-byte: # f : (address buffered-file), n : int -> <void> # . prolog 55/push-EBP 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP diff --git a/subx/063print-byte.subx b/subx/063print-byte.subx index b7514e9f..61b19146 100644 --- a/subx/063print-byte.subx +++ b/subx/063print-byte.subx @@ -12,7 +12,7 @@ b8/copy-to-EAX 1/imm32/exit cd/syscall 0x80/imm8 -print-byte: # f : (address buffered-file), n : num -> <void> +print-byte: # f : (address buffered-file), n : int -> <void> # . prolog 55/push-EBP 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP @@ -65,7 +65,7 @@ $print-byte:end: # extract lowest 4 bits and convert to 8-byte ascii # return 0xffffffff if more than 4 bits are set -hex-char: # n : num -> char_or_error/EAX +hex-char: # n : int -> char_or_error/EAX # . prolog 55/push-EBP 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP |