Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @inject()
- def op_cbcdtd(self, RA, RS):
- print("GMSD op_cbcdtd RS", RS)
- print("GMSD op_cbcdtd RA", RA)
- for i in range(0, 1 + 1):
- n = i * 32
- RA[n + 0:n + 11 + 1] = 0
- RA[n + 12:n + 21 + 1] = BCD_TO_DPD(RS[n + 8:n + 19 + 1])
- RA[n + 22:n + 31 + 1] = BCD_TO_DPD(RS[n + 20:n + 31 + 1])
- print("GMSD op_cbcdtd RS", RS)
- print("GMSD op_cbcdtd RA", RA)
- return (RA,)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement