derekbelsky102 / grad_school

0 stars 0 forks source link

Fix opcode so it always prints 32 bits #6

Closed derekbelsky102 closed 2 years ago

derekbelsky102 commented 2 years ago

print("Hex Format: 0x"+'{:08X}'.format(code_32bit)) print("Bin Format: 0b"+'{:032b}'.format(code_32bit))

derekbelsky102 commented 2 years ago

65b69e934c51d51fba88dc5872a6b40ee4e22be5