23 lines
855 B
NASM
23 lines
855 B
NASM
|
;=----------------------------------------------------------------------------=;
|
||
|
; GNU GPL OS/K ;
|
||
|
; ;
|
||
|
; Authors: spectral` ;
|
||
|
; NeoX ;
|
||
|
; ;
|
||
|
; Desc: Basic longmode CPU functions ;
|
||
|
; (x86_64 architecture only) ;
|
||
|
;=----------------------------------------------------------------------------=;
|
||
|
|
||
|
[BITS 64]
|
||
|
|
||
|
temporize:
|
||
|
push rcx
|
||
|
mov rcx, 2000
|
||
|
.looping:
|
||
|
nop
|
||
|
nop
|
||
|
nop
|
||
|
loop .looping
|
||
|
pop rcx
|
||
|
ret
|