It's most important question for me!
My target system is not PC, but some device with procesor 8086. There is no operating system (there isn't DOS!) and memory configuration is other then PC's.
(For booting is used FLASH in the higher memory range and the lower half of memory range is SRAM (for data and running programs)).
I have Turbo assembler v2.0 to developing aplications.
And my question now!!
----------------------
How can I set up my assembler source file (*.asm) to start
the code in the absolute address from 0F0000h and data somewhere in SRAM.
I tried - TEST.ASM file:
---------------------------
MASM
.186
Code SEGMENT PARA AT 0F000h
ASSUME CS:Code
org 0FFF0h ;here 8086 jump after reset
jmp start
org 0h
start:
nop
nop
nop
Code ENDS
END
when I compiled this and when I looked at structure of EXE file, there was the starting address 0000:0000 always and Turbo debugger showed nonsenses.
Please use some example of ASM file to explain how to do it!
I'm helpless to solve this problem!
Thank's Jenda
My target system is not PC, but some device with procesor 8086. There is no operating system (there isn't DOS!) and memory configuration is other then PC's.
(For booting is used FLASH in the higher memory range and the lower half of memory range is SRAM (for data and running programs)).
I have Turbo assembler v2.0 to developing aplications.
And my question now!!
----------------------
How can I set up my assembler source file (*.asm) to start
the code in the absolute address from 0F0000h and data somewhere in SRAM.
I tried - TEST.ASM file:
---------------------------
MASM
.186
Code SEGMENT PARA AT 0F000h
ASSUME CS:Code
org 0FFF0h ;here 8086 jump after reset
jmp start
org 0h
start:
nop
nop
nop
Code ENDS
END
when I compiled this and when I looked at structure of EXE file, there was the starting address 0000:0000 always and Turbo debugger showed nonsenses.
Please use some example of ASM file to explain how to do it!
I'm helpless to solve this problem!
Thank's Jenda