Zamuel_a wrote:But on older computers like the Atari I prefer the 68000 assembler. It's not much different than program in C.
C: A = A + 1
ASM ADD #1,D0
C: A = B
ASM MOVE 10(a0),d0
Zamuel_a wrote:What I mean is that in C I don't know what A = B will compile too. In asm I know what I'm doing and how many cycles it takes.
Zamuel_a wrote:The only programming I do on Atari is time critical advanced stuff so I guess that's why I prefer assembler.
Zamuel_a wrote:If I for some reason want to create a ordinary slow text editor or something else I would do in on PC in C++ instead
metalages wrote:Like This ?simonsunnyboy wrote:C is a fancy macro assembler - and the best mix is inbetween.
https://github.com/gibs75/demOS/blob/ma ... N/ARJDEP.C
Frank B wrote:You still need to understand assembly for reverse engineering. Very important to verify static analysis and dynamic analysis vulnerabilities in a binary.
simonsunnyboy wrote:Spekaing for Ataris, if you want to get the job done and finished and 100% speed is not the main goal, using C is a much better way to go.
Foxie wrote:simonsunnyboy wrote:Spekaing for Ataris, if you want to get the job done and finished and 100% speed is not the main goal, using C is a much better way to go.
This might be why Cubase has a whopping 2ms MIDI thru latency, and is incapable of driving more than one MIDI out at 8MHz.
simonsunnyboy wrote:No certainly not in this fashion. More the way that it automatically updates your indirect addressing right when using structs etc.
On a modern platform (non-m68k) C compilers will optimize better and produce tighter (and more unreadable) assembler code than a human coder would do.
So the smaller and the more limited a platform is, the more assembler is necessary.
Spekaing for Ataris, if you want to get the job done and finished and 100% speed is not the main goal, using C is a much better way to go.
alienkidmj12 wrote:i would love to learn assembly but not really sure where to start to be honest
simonsunnyboy wrote:I learned assembly language for microcontrollers at a university course. I straightly went to apply the knowledge on the ST when Perihelion did his tutorials.
simonsunnyboy wrote:Learned 8051 first, PIC was a pain in the ass and a reason why I thoroughly dislike those devices and do not recommend using them.
Doing Cortex-M devices for a living these days but in C....
Users browsing this forum: No registered users and 7 guests