From e99038ea514a8703b170689d5a0730c8d2e542e7 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 18 Feb 2019 22:43:01 -0800 Subject: 4982 --- html/subx/053new-segment.subx.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'html/subx/053new-segment.subx.html') diff --git a/html/subx/053new-segment.subx.html b/html/subx/053new-segment.subx.html index cce753d5..d2aa0b40 100644 --- a/html/subx/053new-segment.subx.html +++ b/html/subx/053new-segment.subx.html @@ -19,6 +19,7 @@ a { color:inherit; } .subxMinorFunction { color: #875f5f; } .LineNr { } .subxS1Comment { color: #0000af; } +.SpecialChar { color: #d70000; } .subxFunction { color: #af5f00; text-decoration: underline; } .Constant { color: #008787; } .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } @@ -64,7 +65,7 @@ if ('onhashchange' in window) { 5 # . op subop mod rm32 base index scale r32 6 # . 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 7 - 8 # main: (manual test if this is the last file loaded) + 8 Entry: # manual test 9 # EAX = new-segment(0x1000) 10 # . . push args 11 68/push 0x1000/imm32 @@ -107,17 +108,17 @@ if ('onhashchange' in window) { 48 # various constants used here were found in the Linux sources (search for file mman-common.h) 49 _mmap-new-segment: # type mmap_arg_struct 50 # addr -51 00 00 00 00 # null +51 0/imm32 52 # len -53 00 00 00 00 # 0x1000 +53 0/imm32 54 # protection flags -55 03 00 00 00 # PROT_READ | PROT_WRITE +55 3/imm32 # PROT_READ | PROT_WRITE 56 # sharing flags -57 22 00 00 00 # MAP_PRIVATE | MAP_ANONYMOUS +57 0x22/imm32 # MAP_PRIVATE | MAP_ANONYMOUS 58 # fd -59 ff ff ff ff # -1 since MAP_ANONYMOUS is specified +59 -1/imm32 # since MAP_ANONYMOUS is specified 60 # offset -61 00 00 00 00 # 0 since MAP_ANONYMOUS is specified +61 0/imm32 # since MAP_ANONYMOUS is specified 62 63 # . . vim:nowrap:textwidth=0 -- cgit 1.4.1-2-gfad0