Silver_Smoulder

[ASM][WTF]output binary

Apr 30th, 2019
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. ##output number in binary
  2. #don't use the built in converter
  3.  
  4. #http://cs.middlesexcc.edu/~schatz/csc263/handouts/shift.instrs.html
  5. #https://stackoverflow.com/questions/45315405/how-do-i-manipulate-bits-in-assembly-language-mips32
  6. #http://cs.middlesexcc.edu/~schatz/csc263/handouts/shift.instrs.html
  7. #https://www.daniweb.com/programming/software-development/threads/72982/converting-decimal-value-to-binary-mips#
  8. #
  9. ## https://www.utdallas.edu/~dodge/EE2310/lec14.pdf
  10. #
  11.  
  12. #Shifting 1 bit to the right is equivalent to integer division by 2.
  13. #Shifting n bits to the right is sqivalent to division by 2n.
  14.  
  15. #If I can push the numbers out, maybe I can push them into the output?
  16. #rotate? rol ror?
Advertisement
Add Comment
Please, Sign In to add comment