Silver_Smoulder icon

[ASM][WTF]output binary

Silver_Smoulder | PRO | 04/30/19 03:17:31 PM UTC | 0 ⭐ | 404 👁️ | Never ⏰ | []
text |

690 B

|

None

|

0 👍

/

0 👎

##output number in binary
#don't use the built in converter
 #http://cs.middlesexcc.edu/~schatz/csc263/handouts/shift.instrs.html
#https://stackoverflow.com/questions/45315405/how-do-i-manipulate-bits-in-assembly-language-mips32
#http://cs.middlesexcc.edu/~schatz/csc263/handouts/shift.instrs.html
#https://www.daniweb.com/programming/software-development/threads/72982/converting-decimal-value-to-binary-mips#
#
## https://www.utdallas.edu/~dodge/EE2310/lec14.pdf
#
 #Shifting 1 bit to the right is equivalent to integer division by 2. 
#Shifting n bits to the right is sqivalent to division by 2n.
 #If I can push the numbers out, maybe I can push them into the output? 
#rotate? rol ror?

Comments