about summary refs log tree commit diff stats
path: root/subx/examples/ex12.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-05 19:49:47 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-05 19:49:47 -0700
commit03d50cc83c7c2bebb2b019667b80c1c51f4a8def (patch)
tree9c0447e91ac0da2aa0fe983f41c4d95d1787f512 /subx/examples/ex12.subx
parent7163541bf2ced701d00b16b1cf1eac6a7d019a15 (diff)
downloadmu-03d50cc83c7c2bebb2b019667b80c1c51f4a8def.tar.gz
4667
Standardize on hyphens in all names.
And we'll use colons for namespacing labels in functions.
Diffstat (limited to 'subx/examples/ex12.subx')
-rw-r--r--subx/examples/ex12.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/examples/ex12.subx b/subx/examples/ex12.subx
index d7c2e868..1db660ed 100644
--- a/subx/examples/ex12.subx
+++ b/subx/examples/ex12.subx
@@ -12,7 +12,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
 
   # mmap(0x1000)
-  bb/copy                         .               .             .           .             .           .           .               mmap_new_segment/imm32  # copy to EBX
+  bb/copy                         .               .             .           .             .           .           .               mmap-new-segment/imm32  # copy to EBX
   b8/copy                         .               .             .           .             .           .           .               0x5a/imm32/mmap         # copy to EAX
   cd/syscall  0x80/imm8
 
@@ -26,7 +26,7 @@
 
 == data
 # various constants used here were found in the Linux sources (search for file mman-common.h)
-mmap_new_segment:  # type mmap_arg_struct
+mmap-new-segment:  # type mmap_arg_struct
   # addr
   00 00 00 00  # null
   # len