Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/03/05 01:09
Read: times


 
#94280 - Understanding Code Segments Vs Org
Hi, I cam across this code

************************
mydata segment data
Reg mydata

tempcode: DS 2

stack segment idata
rseg mydata
ds 80h

Cseg at 0
ljmp main

org 7bh
ljmp ADC0_ISR
*************************

I compared this to my usual
****************************
org 000h
ljmp main

org 7bh
ljmp ADC0_ISR

****************************


What does the below mean?
mydata segment data
Reg mydata

What are the advantage of declaring a segment of memory in a small 2k assembly program?

thanks




List of 6 messages in thread
TopicAuthorDate
Understanding Code Segments Vs Org            01/01/70 00:00      
   What Assembler?            01/01/70 00:00      
      what assembler            01/01/70 00:00      
   here is not PC            01/01/70 00:00      
      [OT] - x86 Segments            01/01/70 00:00      
      here is not PC            01/01/70 00:00      

Back to Subject List