;for example, nested  data segment:
dseg segment para public 'data'
  a segment
  a1 dw 1,2,3,4
  a ends
 
  b segment
  b1 dw 0,2,3,4
  b ends
 
  cc segment
  c1 dw 1,2,3,4
  cc ends
 
szMsg db 'Hello World!',13,10,'$'
szBuffer db 1024 DUP (?)
Temp1 dw ?
Temp2 dw ?

dseg ends
Posted on 2007-02-21 00:45:39 by qlmi
What would you need that for? o_O
Posted on 2007-02-21 05:12:02 by ti_mo_n
Frankly, that just is a question, there is no more any programing requirement!
Posted on 2007-02-21 22:31:37 by qlmi
In that case, and assuming the segmentation memory model, I can't think of why the assembler/compiler would purposely break apart such a small amount of data into different segments unless the user/code specifically requests such an alignment or if the data naturally crosses a boundary... but we are talking 64KB per segment.
Posted on 2007-02-21 22:42:11 by SpooK
got it!
thank you!
Posted on 2007-02-22 07:37:53 by qlmi