I'm working in real mode on an 8088 based SBC and using BORLAND C++ V5.0 to generate code (Tiny memory model).
1-Suppose I've loaded a program to adress 8000h.
How to "CALL" this program from C?
My code is some thing like this:
Code: Select all
char* load_adress= 8000h;
load(char* name, int* adress);
.........
load(myfile, load_adress); // the file is loaded sucussfuly
........
asm mov ax, 800h // this code don't work !!!!!
asm mov ds, ax
asm call 800h:0000
.......
What is the problem? Please
Thanks