about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-28 21:04:15 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-28 21:04:15 -0800
commit32af4a33bb59b65ec0243c77fede94b874be202f (patch)
tree5629681d5cf8961d6a55cf294bbca7e4d5469b94 /subx
parent6a7eaa81eea991cd459f295c2dd3882c8528187c (diff)
downloadmu-32af4a33bb59b65ec0243c77fede94b874be202f.tar.gz
4884
Diffstat (limited to 'subx')
-rw-r--r--subx/062write-byte.subx2
-rw-r--r--subx/063print-byte.subx4
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