You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bluepill/segment_intrin.asm

31 lines
266 B

3 years ago
.code
readfs proc
mov rax, fs
ret
readfs endp
readgs proc
mov rax, gs
ret
readgs endp
reades proc
mov rax, es
ret
reades endp
readds proc
mov rax, ds
ret
readds endp
readss proc
mov rax, ss
ret
readss endp
readcs proc
mov rax, cs
ret
readcs endp
end