How to add a separator (_) in between 8 bit binary number

后端 未结 0 1761
南方客
南方客 2020-12-05 09:04

I am converting a decimal number to a binary number using this code -

file.write(f"reg[{addr}]" + "   =  " + "8\\\'b{0:08b}".for         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题