Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7962479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:20:45+00:00 2026-06-04T05:20:45+00:00

I have a Sony Ericsson ARC S. I want to write a program for

  • 0

I have a Sony Ericsson ARC S. I want to write a program for it in ARM assembly language. I am familiar with MIPS architecture and a little X86.

Help me start writing a simple program and show me what programs, simulator or other things i would need to do this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:20:47+00:00Added an answer on June 4, 2026 at 5:20 am

    There are many gnu based cross compilers out there and it is pretty easy to build your own, esp if you only want assembly language you only need to build binutils.

    wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.gz
    tar xzvf binutils-2.22.tar.gz 
    cd binutils-2.22
    ../configure --target=arm-none-eabi --prefix=/pick/a/path --disable-werror --disable-nls
    make
    sudo make install
    

    you need to pick a place where you want to install I like /gnuarm myself. might try /opt/gnuarm or whatever you like.

    If you dont want to try that go to codesourcery.com which will take you to mentor graphics which bought code sourcery. Look for the LITE version for ARM, the gnueabi version is fine, the linux version is fine as well you only need the assembler and linker or compiler, assembler, and linker.

    emdebian used to have a toolchain, have not tried it in a while. folks still use ygarto, and winarm if on windows.

    If mips is the only asm you know, arm will be simpler in some respects. Mips is a little non-standard, most processors use a program status word with carry flag, negative flag, zero flag, signed overflow flag (CNZV), and you set those flags with normal instructions, add, sub, etc. then branch on them. With mips you dont have the status flags, instead you specify say two registers and say branch if equal, it performs a subtract then if equal branches. Other processors the subtract is either done with a subtract or with a compare that does a subtract but does not save the results other than the flags. ARM’s loads and stores have a different syntax instead of sw $4,0×10($5) you would have str r4,[r5,#0x10] the brackets indicate a level of indirection, the # preceeds a constant. Arms immediates are usually 8 or 9 bits where on mips the immediates are 16 bits. with arm you can store multiple registers in one instruction stm r0,{r1,r2,r3,r4} would store r1 at the address in r0, r2 at the address in r0+0x04, r3 at the address in r0+0x08 and so on. This is typically used to “push” and “pop” things on and off the stack. with arm you can modify the base register on a store or load, for example ldr r1,[r0],#4 with the immediate outside the brackets means store r1 at address in r0 then add 4 to r0 saves you from having to have an additional add r0,r0,#4 instruction. Mips is not the only processor with a branch defer slot, but for practical purposes assume that it is, assume that no other processor has a defer slot, so dont be trying to put instructions after a branch and expect them to execute, nor do you need nops after branches, etc.

    gdb has the armulator simulator open sourced from arm in it, I have no clue how to access it. qemu has a lot of arm support but little visiblity. I have the thumbulator, which is thumb only (a reduced version of the arm instruction set very similar to the 16 bit mips instruction set compared to the 32 bit mips instruction set) but will give you the feel for the change to arm, the simulator is easy to read and you can modify at will to get visibility into whatever is going on, watch the memory busses, registers, etc. skyeye has a number of processor simulators, vba and the nintendo ds simulators contain arm processor simulators. Plus a myriad of sub $50 and some under $20 microcontroller boards that contain arm processors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two devices - HTC Tattoo and Sony Ericsson Xperia X10. One has
i have installed: 1:sony ericsson pc companion 2:SEMC_Signed usb Driver 3.updated my eclipse->available packages..
Have you ever tried learning a language while on a project? I have, and
Edited on April 29th, content changed Hello everyone, I recently bought a Sony Ericsson
I have there mysql table: **product (id,name)** 1 Samsung 2 Toshiba 3 Sony **attribute
I'm currently using Sony Ericsson mobil phones for at SMS service build in C#.
I have CameraList class that provides Cameras list like SONY,VIVOTEK,VIVOTEK 7XXX,PIXORD,TOSHIBA,JVC E-CON... And I
Some SONY Cameras have a FireWire interface. Is it possible to control any camera
I have Windows Server 2008 installed on a Sony laptop and the brightness control
I have been asked to investigate porting Wii games and some (Sony) PSOne games

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.