QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Compiling Assembly for PSP???

This is a discussion on Compiling Assembly for PSP??? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Ok for some reason this code will not compile... Originally Posted by main.s .text .globl __start __start: la $a0, hello ...

Reply
 
LinkBack Thread Tools
Old 05-01-2006, 05:24 AM   #1

Party at Las Noches!
 
IchigoKurosaki's Avatar
 
Join Date: Jun 2005
Location: Florida
Posts: 1,648
Trader Feedback: 0
Default Compiling Assembly for PSP???

Ok for some reason this code will not compile...

Quote:
Originally Posted by main.s
.text
.globl __start

__start:
la $a0, hello
li $v0, 4
syscall

.data
hello:
.ascii "Hello World\n"
.asciiz "Orbis PSP Development - Assembly Example\n"
Could someone help this is what i get in BASH:

Quote:
Administrator@soul-society ~/HelloworldASM
$ psp-as main.s
main.s: Assembler messages:
main.s:5: Error: illegal operands `la $a0,hello'
main.s:6: Error: illegal operands `li $v0,4'
Should i use inline ASM? and compile with GCC?
__________________
.:Nobis Development Group:.
.:Personal Portfolio:.

Playstation Portable - PSP1001 - 3.90 M33-2
IchigoKurosaki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-01-2006, 08:58 AM   #2
Developer
 
BlackPhoenix's Avatar
 
Join Date: Dec 2005
Location: UK
Posts: 149
Trader Feedback: 0
Default

Quote:
Originally Posted by IchigoKurosaki
Ok for some reason this code will not compile...



Could someone help this is what i get in BASH:



Should i use inline ASM? and compile with GCC?
I'd like to add to that... where could I go to get a starter tutorial for this type of programming?

*googled*.... [result] answered my own question
BlackPhoenix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-01-2006, 09:21 AM   #3

Developer
 
SodR's Avatar
 
Join Date: Sep 2005
Location: Sweden
Posts: 941
Trader Feedback: 0
Default

Ichigo, why whould you want to write you app in assembler??
SodR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
assembly , compiling , psp

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 04:02 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us