Files
Shellcode-Lab/x86_64/Example_Code/8bit.asm
2017-02-01 13:15:17 +01:00

19 lines
310 B
NASM

; 8 bit registers 'undocumented', test
; dash@hack4.org
; May 2016
;
; wikipedia, shellcode trainings no access to certain cpu registers in 8 bit mode
; however, they are addressable
; just adding right now a l to 16bit registers
;
BITS 64
global _start
_start:
mov spl, 1
mov bpl, 2
mov sil, 3
mov dil, 4