Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-09-2006, 06:10 PM   #1
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Rep: Reputation: 30
MIPS: assembly language query


I m looking @ some MIPS kernel disassembly:

lui a0,0x8038

what address is the a0 at?

Old 09-11-2006, 12:20 PM   #2
Registered: May 2006
Posts: 69

Rep: Reputation: 16
a0 is not an address -- it's actually a register in the processor.

The instruction

lui a0, 0x8038

loads the hex number 0x8038 into the upper portion of register a0.
Old 09-11-2006, 11:05 PM   #3
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu
Posts: 207

Rep: Reputation: 37
Originally Posted by anamericanjoe
a0 is not an address -- it's actually a register in the processor.
And by convention, it's the first argument to a function.


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
Assembly Language syntax ashlesha Linux - Newbie 4 06-30-2006 04:22 PM
generating mips assembly from c code with gcc? lilili Programming 4 05-11-2006 08:37 PM
MIPS assembly question Gnute Programming 1 08-24-2004 05:33 PM
Assembly Language, and networks grizzly Programming 5 12-11-2003 09:50 PM
MIPS assembly fenriswolf Programming 0 10-17-2001 03:01 PM > Forums > Linux Forums > Linux - Newbie

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

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