Author Topic: ARM assembly resources  (Read 14677 times)

0 Members and 1 Guest are viewing this topic.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
ARM assembly resources
« on: June 04, 2010, 05:16:35 pm »
Finally found them. I don't know why my 2 first searches were not productive. I searched for mere (I like the word) curiosity and maybe a lot time later see them.
These are some links for ARM assembly programming tutorials, books and instruction set.

Tutorials:
http://www.heyrick.co.uk/assembler/
http://www.armtutorial.com/
(note these tutorials do not seem for beginners in assembly, I read a bit to verify)

Books:
http://www.arm.com/support/resources/arm-books/index.php
http://www.freetechbooks.com/arm-assembly-language-programming-t729.html

Instruction set:
http://wiki.4hv.org/index.php/Instruction_set:_ARM
http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf

Nspire related links:
http://hackspire.unsads.com/
http://hackspire.unsads.com/wiki/index.php/Hardware

Some other tips:
      DIY: Compile some piece of C-Code and analyze the disassembly.
      Game Boy Advance (and possibly Nintendo DS) Homebrew web-sites have lots of material.
      Acorn Archimedes Nostalgia Web-sites often have nice assembler code-snippets.
      see http://www.pocketmatrix.com/ for assembly gems
« Last Edit: June 07, 2010, 05:25:35 pm by Galandros »
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: ARM assembly resources
« Reply #1 on: June 07, 2010, 04:26:05 am »
Nice, hopefully that helps some Nspire developers. I wonder if ASM code changes a lot from a device to another? I know there are changes between 82, 83, 83+, 85 and 86, for instance

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: ARM assembly resources
« Reply #2 on: June 07, 2010, 02:43:33 pm »
Excellent. This is nice for future reference.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: ARM assembly resources
« Reply #3 on: June 07, 2010, 05:24:28 pm »
Nice, hopefully that helps some Nspire developers. I wonder if ASM code changes a lot from a device to another? I know there are changes between 82, 83, 83+, 85 and 86, for instance
No, it does not change.
In those calculators the z80 CPU is exactly the same. The only changes are the TIOS and other hardware issues like from which ports you interact with LCD and link port.

Hopefully you talked about that, because Nspires from what I heard the hardware is the same whether non-CAS or CAS. I don't know how the keypads work but is something you have to check.
But there are some different ARM CPUs out there.

Nspire has a ARM9 CPU. This is only important if you also want to use code on Nintendo DS or other devices (most cellphones, PDAs, basically handheld devices). Or if you search for ARM code online, be sure to check it is compatible with ARM9. (there is ARM11, ARM7 and many other old versions of ARM CPUs). For knowing compatibility issues, the links I provide have some info about that. (what instructions are safe and such)

Oh, and all miscellaneous stuff about Nspire OS and see http://hackspire.unsads.com/wiki/index.php/Hardware and other pages.
(is safe to refer to hacking websites?)
« Last Edit: June 07, 2010, 05:31:36 pm by Galandros »
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: ARM assembly resources
« Reply #4 on: June 08, 2010, 12:41:34 am »
It should be fine for hacking sites involving jailbreaking (if they don't provide ways to pirate paid applications)