17 July 2017, 13:26 | #61 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
It is helpful to have easy to use little functions and macros for quick testing and debugging (often not release efficiency or quality). It is more important to keep learning at your stage but there is more to know and do with assembler like performance considerations, code structure and organization, low level data type handling, etc. which high level languages often abstract away. It really should be learned from a low level first as the hidden abstraction is the source of much bloat.
|
17 July 2017, 19:39 | #62 | |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Quote:
So, as has been suggested earlier, wouldn't it make more sense if I started from C, and, if necessary, work my way down to assembler? Because I'm still trying to code some kind of demo, so performance will probably eventually become an issue. I feel like I've jumped into the open ocean going with assembler, while I should maybe learn how to swim in a swimming pool first and use C. It'll probably be easier to start out in a language that I know, so I can focus more on what I actually want to achieve. Ok, I'll still have to learn the hardware and the OS, but at least I'll kind of know what I'm doing, in C. Anyway, I still enjoy what I'm doing right now (and the feedback I'm getting from this community); it's just that I may be making this unnecessarily hard on myself. I should at least further experiment with C, too, I suppose. |
|
17 July 2017, 22:28 | #63 | ||
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
Syntax is the easy part of a language to learn. Reading and referencing as needed the M68000PRM is a good start. http://www.nxp.com/docs/en/reference.../M68000PRM.pdf This M68000PRM is easy to understand for a low level technical document and is further helped by the 68k architecture ease of use in assembler (which was planned) but rarely seen in modern processors. The manual goes into basic datatypes used by the 68k and how to access them. Datatypes are important to learn after syntax. Quote:
http://server.owl.de/~frank/vbcc/docs/vbcc.pdf http://sun.hasenbraten.de/vasm/release/vasm.pdf Programming the brain is more difficult than programming a computer and may require you to leave your comfort zone . Last edited by matthey; 18 July 2017 at 21:49. |
||
18 July 2017, 17:57 | #64 | |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Quote:
Thanks for your reflections on this, they make a lot of sense! |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AmiDevCpp and Floats | AmigaEd | Coders. General | 0 | 18 January 2006 03:16 |
|
|