SHARE
TWEET

Untitled

a guest Nov 12th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     DS 0000h
  3.     DB 00ffh
  4.     DB 007fh
  5.     DB 0001h
  6.     DB 0000h
  7.     DB 0001h
  8.     DB 0080h
  9.     DB 0093h
  10.     DB 0013h
  11.    
  12.     DB 0000h
  13.     DB 0000h
  14.     DB 0000h
  15.     DB 0000h
  16.     DB 0000h
  17.     DB 0000h
  18.     DB 0000h
  19.     DB 0000h
  20.    
  21.     DB 0000h
  22.     DB 0000h
  23.     DB 0000h
  24.     DB 0000h
  25.     DB 0000h
  26.     DB 0000h
  27.     DB 0000h
  28.     DB 0000h
  29.    
  30.     DB 0000h
  31.     DB 0007h
  32.     DB 0000h
  33.     DB 0000h
  34.     DB 0000h
  35.     DB 0000h
  36.     DB 0000h
  37.     DB 0000h
  38.    
  39. Poczatek:
  40.     CLRB
  41.     CLRA
  42.     CLR 0010h
  43.     LDX 0013h
  44.  
  45. main:
  46.  
  47.     CPX 0018h
  48.     BEQ Koniec
  49.  
  50.     LDAA 0,x
  51.     LDAB 1,x
  52.  
  53.  
  54.     CBA
  55.     BCS Zamiana
  56.     JMP Koniec_iteracji
  57.  
  58. Zamiana:
  59.     STAA 1,x
  60.     STAB 0,x
  61.  
  62. Koniec_iteracji:
  63.     INX
  64.     CPX 0018h
  65.     BEQ zakres
  66.     JMP main
  67.  
  68. zakres:
  69.     DEX
  70.     STX 0018h
  71.     JMP Poczatek
  72. Koniec:
  73.     end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top