This commit is contained in:
Frater 2017-09-24 01:45:36 +02:00
commit 43352ff262
1291 changed files with 220976 additions and 0 deletions

34
MAIN/PROT/TGIDT.ASM Normal file
View file

@ -0,0 +1,34 @@
IDEAL
P386
SEGMENT koodi
ASSUME cs:koodi
ORG 100h
start:
sgdt [pword cs:erkki]
sidt [pword cs:erkki+6]
mov al, [cs:erkki+6]
sub [cs:erkki], al
mov al, [cs:erkki+6+1]
sbb [cs:erkki+1], al
mov al, [cs:erkki+6+2]
sbb [cs:erkki+2], al
mov al, [cs:erkki+6+3]
sbb [cs:erkki+3], al
mov al, [cs:erkki+6+4]
sbb [cs:erkki+4], al
mov al, [cs:erkki+6+5]
sbb [cs:erkki+5], al
int 3
ret
erkki db 16 dup (0)
ENDS
END start