2 ms·
I suppose I personally just never thought of assembly language code as having any nesting-like structure. It's just a list of individual instructions, to be exe
by to3m 15y ago
I suppose I personally just never thought of assembly language code as having any nesting-like structure. It's just a list of individual instructions, to be executed one after the other, with the occasional conditional GOTO or subroutine call. Higher-level constructs just don't really spring to mind as I'm working in it.
Then again, it's a while since I did a more than a short routine at a time of anything more complicated than 6502. (The 6502 is so basic, you have to think in the actual instructions directly. It would be odd if you didn't.) If I set to do a decent quantity of code working with something more modern, maybe I'd find my coding more coloured by my C experience than was the case last time.
- sjs 15y agoI've written more assembly for the M68HC11 than x86 so I can relate. Indenting it never even crossed my mind. x86 is an entirely different beast.