Hello. I have a piece of a program here.
and I have a problem what because I don't know what it is about
and in this
Please help.
I corrected the topic. The code should be placed in the code - krzychoocpp tags
.386p
stack segment stack use16
dd 100 dup(0)
stack ends
data segment use16
gdt dd 0
dd 0
code_desc dd 0000ffffh
dd 00cf9a00h
data_desc dd 0000ffffh
dd 00cf9200h
ret_desc dd 0000ffffh
dd 00cf9a00h
gdt_label label fword
gdt_limit dw 4*8-1
gdt_base dd ?
protected_code_address dd 0
dw 08h
data ends
code segment para public use16 'code'
assume cs:code,ds:data,ss:stack
start:
mov ax,data
mov ds,ax
; setup gdt
mov eax,0
and I have a problem what because I don't know what it is about
stack segment stack use16
dd 100 dup(0)
stack ends
and in this
code segment para public use16 'code'
Please help.
I corrected the topic. The code should be placed in the code - krzychoocpp tags