diff options
Diffstat (limited to 'subx/053new_segment.subx')
-rw-r--r-- | subx/053new_segment.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/053new_segment.subx b/subx/053new_segment.subx index 70acb572..c9a710e3 100644 --- a/subx/053new_segment.subx +++ b/subx/053new_segment.subx @@ -1,7 +1,6 @@ # Create a new segment (for data) using mmap(). == code - # instruction effective address operand displacement immediate # 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 @@ -44,6 +43,7 @@ new-segment: # len : int -> address c3/return == data + # various constants used here were found in the Linux sources (search for file mman-common.h) mmap-new-segment: # type mmap_arg_struct # addr |