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
Assembly?
Started by
Fez
, Jan 08 2008 07:43 AM
4 replies to this topic
#1
Posted 08 January 2008 - 07:43 AM
#2
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
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
Posted 08 January 2008 - 01:46 PM
Thanx. I though assembly was like a programming language
*starts reading*
*starts reading*
#4
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
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