Jump to content



Photo
- - - - -

Assembly?


  • Please log in to reply
4 replies to this topic

#1 Fez

Fez

    Casio Freak

  • Members
  • PipPipPipPip
  • 162 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio fx-9860G AU

Posted 08 January 2008 - 07:43 AM

Upon reading some of the things that some of you say(addsess?!?) I want to learn what these are. If Im right its Assembly. So can someone point me in the right direction to learn it XD

#2 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 08 January 2008 - 01:35 PM

Assembly/'ASM' is a programming concept. Addresses are a concept in microprocessor systems.

To learn ASM, you have to read up on the way microprocessors (CPU's) act internally (what registers and instructions are), and how the CPU communicates with other components in a microprocessor system like RAM and ROM, through the data and address bus.

Because the calculator has a SuperH processor, it has an istruction set specific to that model or type. How you write your programs in assembly is very dependant on the operating system running and how the microprocessorsystem is built. You can see the instructions available in the software manual for the processor.
(You don't want to learn x86 (PC) assembly, but some concepts still apply on both architectures, like the stack.)

edit:
Links;
SH-3 software manual: http://documentation...0317_sh_3sm.pdf
Info about microprocessor:
http://en.wikipedia.org/wiki/CPU
http://en.wikipedia....cessor_register

Once you understand how this works together, you can use the instruction set of the CPU to acheive what you want ;)

#3 Fez

Fez

    Casio Freak

  • Members
  • PipPipPipPip
  • 162 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio fx-9860G AU

Posted 08 January 2008 - 01:46 PM

Thanx. I though assembly was like a programming language :P
*starts reading*

#4 Andreas B

Andreas B

    Casio Freak

  • Members
  • PipPipPipPip
  • 160 posts
  • Gender:Male
  • Location:Norway

  • Calculators:
    fx-9860G SD

Posted 08 January 2008 - 02:15 PM

Right, it is sort of a programming language, but the differences in it between CPU's is so big that it is not 'a language' like C is. There are several assembly languages - each for one architecture/processor, but the concept is the same; deciding each instruction that the CPU has to perform.

#5 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output("Error: Coord type not specified");
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 08 January 2008 - 02:48 PM

Indeed. And it's something really hard to learn, since CPU architecture knowledge is recommended.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users