William R. Lorenz
2005-11-12 23:39:48 UTC
Homework #5 question #2 asks us to write assembly code that will "set
bits m:n in %r9 to 1." I did this in about 30 lines of code, but I have
to wonder if there's a more efficient way to do this? Has anyone done
this in just a few lines of code? Am I missing something obvious? :)
bits m:n in %r9 to 1." I did this in about 30 lines of code, but I have
to wonder if there's a more efficient way to do this? Has anyone done
this in just a few lines of code? Am I missing something obvious? :)