extend or gdt 
Author Message
 extend or gdt

This is a example from a book that i am studying for a course
but as usual (like most code or examples)it comes up with a error CANNOT
LOAD COMMAND.COM after the program has run i have tried messing with the
addresses but it still crashes does any one have any ideas.
;shifts seven bytes from conventional memory to extended
;firstly setting up the gtd
debug
e 2000 00 00 00 00 00 00 00 00
e 2008 00 00 00 00 00 00 00 00
e 2010 ff   00 00 00 00 93 00 00
e 2018 ff   00 00 00 00 93 00 00
e 2020 00 00 00 00 00 00 00 00
e 2028 00 00 00 00 00 00 00 00
; now put some thing into the source block
e 200 ee ee ee ee ee ee ee

a100
mov ah,87
mov cx,7
mov si,2000
mov dx,0
mov bx,cs
shl bx,1
rcl dx,1
shl bx,1
rcl dx,1
shl bx,1
rcl dx,1
shl bx,1
rcl dx,1
add bx,200
adc dx,0
mov [2014],dl
mov [2012],bx
int 15
int 3
g=100
;should return carry flag=0 and ah=0 if succesful



Thu, 26 Aug 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Array.extend versus instance.extend

2. Experience moving netlists: Synopsys to GDT

3. flat GDT's except code

4. GDT align

5. Defining LDT, and GDT in MASM

6. gdt selector 3Bh in win98

7. GDT?

8. nasm gdt??

9. GDT problem

10. mov in GDT

11. Where is GDT??

12. GDT in ROM...

 

 
Powered by phpBB® Forum Software