Re: referring to segments other than DS - how?



On Wed, 27 Feb 2008 12:51:03 -0800, japheth wrote:

there's a small typo:

mov ax, 40h ; func. write array

must be

mov ah, 40h ; func. write array

Thanks japheth, you and Frank both nailed the problem.

Regarding your earlier reply to me - I'm not too familiar with the file
format used for 16 bit exe's assemble w/ MASM 6.11 (OMF ??). I know that
in a PE file, I'll have separate segments for each.

I used "offset _bss" and it returns an offset that is different than
@data. I didn't understand why you referred to _data and _bss as
"logical" segments. Perhaps _data is always 0 offset into DGROUP? And
perhaps _bss always starts at the end of _data?

I've never heard of DGROUP til today.

--
Regards,
Pop Tart
.



Relevant Pages