lumpenproletariat@quokk.auM to Memes of Production@quokk.auEnglish · 4 months agobookquokk.auimagemessage-square252linkfedilinkarrow-up1303arrow-down13file-text
arrow-up1300arrow-down1imagebookquokk.aulumpenproletariat@quokk.auM to Memes of Production@quokk.auEnglish · 4 months agomessage-square252linkfedilinkfile-text
minus-squareglibg10b@lemmy.ziplinkfedilinkEnglisharrow-up3·4 months agoWhat’s funny is we’re coding something fairly simple in assembly at my university, so even this PIC’s resources are overkill for us (PIC18F45K22) Having more instructions would be nice, though. Any loop other than a simple decfsz-goto loop requires some ingenuity
minus-squarejason@discuss.onlinelinkfedilinkEnglisharrow-up3·4 months agoNice. Asm probably has an advantage here. C’s stupid integer promotion rules can sneak up on you and also blow up flash use. To avoid it, you need to cast everything in every math expression.
What’s funny is we’re coding something fairly simple in assembly at my university, so even this PIC’s resources are overkill for us (PIC18F45K22)
Having more instructions would be nice, though. Any loop other than a simple decfsz-goto loop requires some ingenuity
Nice. Asm probably has an advantage here. C’s stupid integer promotion rules can sneak up on you and also blow up flash use. To avoid it, you need to cast everything in every math expression.