Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

45111 Arkusz danych(PDF) 44 Page - List of Unclassifed Manufacturers

Numer części 45111
Szczegółowy opis  14-DAY MONEY BACK GUARANTEE
PDF  184 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  ETC2 [List of Unclassifed Manufacturers]
Strona internetowa  
Logo ETC2 - List of Unclassifed Manufacturers

45111 Arkusz danych(HTML) 44 Page - List of Unclassifed Manufacturers

Back Button 45111 Datasheet HTML 40Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 41Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 42Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 43Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 44Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 45Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 46Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 47Page - List of Unclassifed Manufacturers 45111 Datasheet HTML 48Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 184 page
background image
7 The SASM Assembler
Page 44
• SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc.
7.1 The Structure of an SX Assembly Program
A typical SX assembly language program contains comments, directives, symbols, labels, expressions
and mnemonic instructions as shown in the sample below.
;---------------------------------------
;|
XYZ Controller
Version 2.1
|
;|
(C) 1997 Company, Inc.
|
;|
Written by John Doe
12/01/97
|
;---------------------------------------
; =====Device data and Equates=====
DEVICE
SX28, OSCHS2, PROTECT
ID ’V2.1’
RESET Main
pvdd
EQU
rc.1
;vdd
data_out_a
EQU
%1100
; =====Variables=====
org
$08
;point to start of ram
xbit_in
ds 1
;pc communication data
data_low
ds 1
data_high
ds 1
pulses
ds 1
;programming pulse count
; =====Begin code=====
org
$000
; =====JUMP TABLE=====
jmp
read
;$00 = read device
jmp
program
;$01 = program device
jmp
pin_mode
;$07 = pin mode
; =====PC COMMUNICATION=====
get_data
mov
w,#19
;ready
clrb
dc
;set receive mode
jmp
send_data:bits
;receive word into data
send_okay
mov
w,#$00
mov
data_low,w
mov
w,#4
jmp
send_data:go
send_data
mov
w,#19
;ready null+0+16outdata+1
clc
;clear carry for stop bit
:go
setb
dc
;set transmit mode
Operands
Comments
Directives
Symbols
Mnemonics
Labels



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com