LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-26-2004, 10:30 AM   #1
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35
ASM question


Hy!

I am reading a tutorial about assembly and i don't clearly understand something.

1) 0x80004a8
2) 0x80004ab
3) 0x80004b2

This are memory location addresses. And the writer of the tutorial claims the distance between 1st and 3rd address is 8 bytes, what i can't understand. So please help me out.
 
Old 06-26-2004, 11:43 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
and the answer is ...........Hex
4a8
4a9
4aa
4ab
4ac
4ad
4ae
4af
4b0
4b1
4b2
 
Old 06-26-2004, 12:42 PM   #3
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Original Poster
Rep: Reputation: 35
320mb, yes i agree, but why is this sequence 8 bytes long? Why is A(hex) long distance between the memory locations represented by 8 bytes?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
asm Question Whiteghost Programming 2 09-03-2005 10:26 AM
Linux 32 ASM introuble Programming 2 05-10-2005 07:56 AM
asm question karlan Programming 6 07-16-2004 12:54 PM
question on usr/include/asm/module.h kmack2001 Linux - Newbie 0 02-14-2004 11:40 PM
Simple ASM question Citizen Bleys Programming 2 04-03-2003 06:55 AM


All times are GMT -5. The time now is 06:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration