I need clarification to a particular gnu assembly question. When i write a code:
.section .data output: .int 1 .section .text .globl _start _start: movl $output, %ebx ....here what type of memory model is used for movl statement(flat or segmented)? Also how does movl knows which logical address to use? I mean how do variables
get their logical address? Thanks. _________________________________________________________________Fight Allergies With Live Search http://search.live.com/results.aspx?q=Remedies+For+Spring+Allergies&mkt=en-ca&FORM=SERNEP
- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- Re: Segmented or Flat model
- From: Brian Raiter
- Re: Segmented or Flat model
- Prev by Date: Re: [PATCH 2.6.21.1] i386: save registers before intra-privilege syscall
- Next by Date: Re: Segmented or Flat model
- Previous by thread: [PATCH 2.6.21.1] i386: save registers before intra-privilege syscall
- Next by thread: Re: Segmented or Flat model
- Index(es):
![]() |