Debian Codegraph @

test/gdtidt.asm

raw
1 default rel
2 %use ifunc
3
4 %define BREG %selbits(bx,ebx,rbx)
5 %define OREG %selbits(ebx,bx,ebx) ; Force a 67 prefix
6
7 lea BREG,lbl
8 lgdt [BREG]
9 sgdt [BREG]
10 lidt [BREG]
11 sidt [BREG]
12
13 lgdt [OREG]
14 sgdt [OREG]
15 lidt [OREG]
16 sidt [OREG]
17
18 lgdt [lbl]
19 sgdt [lbl]
20 lidt [lbl]
21 sidt [lbl]
22
23 hlt
24 lbl:
25 times 10 nop