logoalt Hacker News

tsimionesculast Wednesday at 4:37 PM1 replyview on HN

> but in the end, all you need to understand for programming computers are "sequences, conditions and loops"

I fully agree - and assembly language teaches you precisely 0 of these.


Replies

flohofwoelast Wednesday at 4:49 PM

Well, Z80 has DJNZ which is specifically designed for loops ;)

I think there's value in understanding how high level language constructs like if-else and loops can all be constructed from simple conditional jumps, and that a function call is just a CALL/RET pair with the return address being stored on the stack.

Also, structured programming had to be invented, and working in assembly code makes it clearer why.

It's also food for thought why CPU ISAs never made the leap to structured programming.

show 1 reply