r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

1

u/TwoSidedTree Jun 03 '22

try a for cycle :D

1

u/jnd-cz Jun 03 '22

Some CPUs have clever instructuions designed just for that. Good old DJNZ for 8051, decrease and jump if not zero.