Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Marl3x178513dThis deserves waaay more likes.
Parzi379813dYour code is correct if you're saving CPU cycles, yes... BUT!
To save space:
; continue doing whatever
(this was thrown together after only a cursory glance at 6502 docs, there's probably an even better way of doing it, but you get the point.)
i'm gonna be so mad if the original post was a joke
edit: fun fact: this may have been a huge waste of time as it might be exactly the same length space-wise, i'm not sure though as a lot of opcodes don't have a listed length -_-
@Parzi original post wasnt a joke. Also, as you mentioned it's both slower and takes up the same amount of space. Via rough calculation I found it takes like twice the number of cycles (80 on mine and 190 on yours) to complete yours. Also your code is about the same size. It's not gonna work.
teadrinker124913dOne word: nostalgia....
12bitfloat34813dDisliked, not enough LOCK CMPXCHG16B
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job
TCPizza36assignment: use winAPI to create a "virus" that put itself in autorun and does nothing. me, a curious student...
mcminnra10"Python is such a hard language. It has so many rules" - Undergraduate Student who sent out mass email to the ...
explodingkittns7"You'll be learning and working with C++ and Assembly." I could very well be the only student ever to have be...