Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. LJMP START
  2.    ORG 0100H ;skok początkowy o 100 bitów
  3.    
  4. START:
  5.    mov A, #0FFH
  6.    mov B, #0ABH
  7.    ADD A,B
  8.    ADDC A,B
  9.    ADDC A,B
  10.    SUBB A,B
  11.    MUL AB
  12.    mov B, #10H
  13.    DIV AB
  14.    Nop
  15.    Nop
  16.    Nop
  17.    JMP $
  18.    END START
  19.  
  20. LJMP START
  21.    ORG 0100H
  22.    START:
  23.  
  24.    mov A, 1
  25.    mov B, 0
  26.    ORL A,B
  27.    ANL A,B
  28.    XRL A,B
  29.    CPL A
  30.    Nop
  31.    Nop
  32.    Nop
  33.    JMP $
  34.    END START
  35.  
  36. LJMP START                                                                                                                   LJMP START
  37.  ORG 0100H
  38.  START:
  39.  
  40.  mov DPTR, #8000H
  41.  movx A, @DPTR
  42.  add A, #10H
  43.  movx @DPTR, A
  44.  Nop
  45.  Nop
  46.  Nop
  47.  JMP $
  48.  END START
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement