summaryrefslogtreecommitdiffstats
path: root/docs/re/registers.txt
blob: c0a3feeeb9c2ae738330a9dee8c198b2ee2eb2d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Register sizes / mappings
-------------------------

The A register is used as an example

 MSB                                                                   LSB
 +--------+--------+--------+--------+--------+--------+--------+--------+
 |                                  RAX                                  |
 +--------+--------+--------+--------+--------+--------+--------+--------+
                                     |                EAX                |
                                     +--------+--------+--------+--------+
                                                       |        AX       |
                                                       +--------+--------+
                                                       |   AH   |   AL   |
                                                       +--------+--------+


# TODO - calling conventions