Керiвництво программиста, Детальна інформація
Керiвництво программиста
; iano\x00F0ieea aeane\x00F0eioi\x00F0a naaiaioo noaea
mov eax, stak
shl eax, 4 ; ia/eneaiiy e\x00B3i\x00B3eii? aae\x00F0ane
add eax, [slen] ; aa\x00F0oeie noaea
push sel_stk ; naeaeoi\x00F0 naaiaioo
push 4096h ; 32-\x00F0ic\x00F0yaeiee naaiaio aeaieo
; aeinooiiee ii caieno, iioe\x00F0th\x00BAoueny aiec
push [slen] ; \x00F0ici\x00B3\x00F0 naaiaioo
push eax ; e\x00B3i\x00B3eia aae\x00F0ana naaiaioo
call make_desc ; caiiaiaiiy aeane\x00F0eioi\x00F0a
add sp, 14 ; aioethaaiiy ia\x00F0aiao\x00F0\x00B3a a noaea
; iano\x00F0ieea iieaae/eea ia GDT
mov eax, ds
shl eax, 4
add eax, offset gdt ; e\x00B3i\x00B3eia aae\x00F0ana oaaeeoe\x00B3
mov [gdt_base], eax
lgdt [dat_gdt] ; caaaioaaeaiiy \x00F0aa\x00B3no\x00F0o GDTR
cli ; caai\x00F0iia aia\x00F0aoieo ia\x00F0a\x00F0eaaiue
mov eax, cr0 ; ianoaiiaa a\x00B3oa \x00F0aaeeio a \x00F0aa\x00B3no\x00F0\x00B3 CR0
inc al
mov cr0, eax
; jmp far sel_code: offset pmode ; ia\x00F0ao\x00B3ae ia naaiaio
; caoeuaiiai \x00F0aaeeio
dw 0ea66h
dd offset pmode
dw sel_code
endp
; i\x00F0ioeaaeo\x00F0a caiiaiaiiy aeane\x00F0eioi\x00F0a
proc make_desc near
; nienie ia\x00F0aiao\x00F0\x00B3a
mov eax, stak
shl eax, 4 ; ia/eneaiiy e\x00B3i\x00B3eii? aae\x00F0ane
add eax, [slen] ; aa\x00F0oeie noaea
push sel_stk ; naeaeoi\x00F0 naaiaioo
push 4096h ; 32-\x00F0ic\x00F0yaeiee naaiaio aeaieo
; aeinooiiee ii caieno, iioe\x00F0th\x00BAoueny aiec
push [slen] ; \x00F0ici\x00B3\x00F0 naaiaioo
push eax ; e\x00B3i\x00B3eia aae\x00F0ana naaiaioo
call make_desc ; caiiaiaiiy aeane\x00F0eioi\x00F0a
add sp, 14 ; aioethaaiiy ia\x00F0aiao\x00F0\x00B3a a noaea
; iano\x00F0ieea iieaae/eea ia GDT
mov eax, ds
shl eax, 4
add eax, offset gdt ; e\x00B3i\x00B3eia aae\x00F0ana oaaeeoe\x00B3
mov [gdt_base], eax
lgdt [dat_gdt] ; caaaioaaeaiiy \x00F0aa\x00B3no\x00F0o GDTR
cli ; caai\x00F0iia aia\x00F0aoieo ia\x00F0a\x00F0eaaiue
mov eax, cr0 ; ianoaiiaa a\x00B3oa \x00F0aaeeio a \x00F0aa\x00B3no\x00F0\x00B3 CR0
inc al
mov cr0, eax
; jmp far sel_code: offset pmode ; ia\x00F0ao\x00B3ae ia naaiaio
; caoeuaiiai \x00F0aaeeio
dw 0ea66h
dd offset pmode
dw sel_code
endp
; i\x00F0ioeaaeo\x00F0a caiiaiaiiy aeane\x00F0eioi\x00F0a
proc make_desc near
; nienie ia\x00F0aiao\x00F0\x00B3a
The online video editor trusted by teams to make professional video in
minutes
© Referats, Inc · All rights reserved 2021