Subject:
|
Re: mindstorms NXT and memory
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 10 Jan 2006 12:04:30 GMT
|
Viewed:
|
9744 times
|
| |
| |
In lugnet.robotics, Jordan Bradford wrote:
|
|
I said that RISC machines (in general) are harder to program in
machine code. The ARM is as easy as any other processor to program
in high level languages.
|
Do you mean machine code (binary) or assembly language?
|
There the same.
|
I first learned
assembly language programming on a MIPS chip (RISC). Ive also done it on a
Motorola 68HC11 (a microcontroller), and Ive written both pure machine code
and assembly language for the Intel 8086. I much prefer the MIPS processor,
followed by the 68HC11, and dead last is any Intel x86 chip. Bleah.
For machine code, pretty much any chip is hard to program.
|
I guess my last post didnt make it.
Fundamentally, Steve is correct that RISC is typically more complex to program
since it uses less general purpose registers and more complex instructions (it
tries to do more per clock tic than CISC).
However, these days, the lines between CISC and RISC are pretty much gone
(Intels execution unit is RISC based converting the assembly you write into
micro-ops). Moreover, both ARM and MIPS are extrememly well documented and
understood so as many have stated, programming even at the assembly level is not
hard. The real issue with assembly is typically the hand building of the final
binary (with custom linker layout files which can get real complicated depending
on the architecture and complexity of the program).
-aps
|
|
Message has 1 Reply: | | Re: mindstorms NXT and memory
|
| (...) Obviously you've not coded in machine language, or you'd know they are not. (...) You misunderstand RISC and CISC. CISC instructions often combine data memory references with arithmetic, logical, or brach capabilities. RISC machines do not. (...) (19 years ago, 10-Jan-06, to lugnet.robotics, FTX)
|
Message is in Reply To:
| | Re: mindstorms NXT and memory
|
| (...) Do you mean machine code (binary) or assembly language? I first learned assembly language programming on a MIPS chip (RISC). I've also done it on a Motorola 68HC11 (a microcontroller), and I've written both pure machine code and assembly (...) (19 years ago, 10-Jan-06, to lugnet.robotics, FTX)
|
223 Messages in This Thread: (Inline display suppressed due to large size. Click Dots below to view.)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|