Advertisement
Guest User

Untitled

a guest
Aug 15th, 2021
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. @inject()
  2. def op_cbcdtd(self, RA, RS):
  3. print("GMSD op_cbcdtd RS", RS)
  4. print("GMSD op_cbcdtd RA", RA)
  5. for i in range(0, 1 + 1):
  6. n = i * 32
  7. RA[n + 0:n + 11 + 1] = 0
  8. RA[n + 12:n + 21 + 1] = BCD_TO_DPD(RS[n + 8:n + 19 + 1])
  9. RA[n + 22:n + 31 + 1] = BCD_TO_DPD(RS[n + 20:n + 31 + 1])
  10. print("GMSD op_cbcdtd RS", RS)
  11. print("GMSD op_cbcdtd RA", RA)
  12. return (RA,)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement