Advertisement
Guest User

Untitled

a guest
Dec 20th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. ;2019/12/4
  2. KI0302 START
  3. RPUSH
  4. LAD GR1,#1234
  5. LAD GR2,#ABCD
  6. ;GR1とGR2の論理積
  7. AND GR1,GR2
  8. ;GR1とGR2の論理和
  9. LAD GR1,#1234
  10. OR GR1,GR2
  11. ;GR1とGR2の排他的論理和
  12. LAD GR1,#1234
  13. XOR GR1,GR2
  14. ;GR1と#FF00の論理積(FF00=1111111100000000)
  15. LAD GR1,#1234
  16. AND GR1,=#FF00
  17. RPOP
  18. RET
  19. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement