diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-11-26 00:26:20 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-11-26 00:26:20 -0800 |
commit | e5cbbea435524ecd77f4ebabaab873720c64464f (patch) | |
tree | e38a47bbd69fbc448c5d28da9e605126fd13e819 /subx/053new_segment.subx | |
parent | c1a3d36cad441d75bc1c627e0ea263e0f03b3da1 (diff) | |
download | mu-e5cbbea435524ecd77f4ebabaab873720c64464f.tar.gz |
4780
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 |