HI ALL,
I CANNOT OPEN FILE INCLUDE IN THE PROGRAM, SOME HELP I DO APPRICIATE
THECODE IS COPIED FROM DARREL'S PAGE
I.E:
DATA_READ VAR BYTE
DATATABLE CON EXT
ORIGIN VAR word
GOTO main;V SKIP THE NEXT LINES
ASM
DATATABLE
INCLUDE "HELLO.asm" ; THIS IS THE EXTERNAL DATA TABLE
end
endasm
'--------------------------------------
main:
b0 = 0
ORIGIN = 1 ; FIRST DATA IN THE EXTERNAL TABLE
readcode (datatable + origin), DATA_READ; READ DATA FROM THE EXTERANL TABLE
origin = origin +1; CONTINUE READING UBTIL THE END OF TABLE....
GOTO MAIN
Bookmarks