45111 Parallax Inc, 45111 Datasheet - Page 44
45111
Manufacturer Part Number
45111
Description
MANUAL FOR SX-KEY/BLITZ VER. 2.0
Manufacturer
Parallax Inc
Datasheet
1.45111.pdf
(184 pages)
Specifications of 45111
Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Parallax microcontroller
For Use With
70002PAR - GUIDE PROG THE SX MICRO -DAUBACH
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 44 of 184
- Download datasheet (2Mb)
7 The SASM Assembler
7.1
A typical SX assembly language program contains comments, directives, symbols, labels, expressions
and mnemonic instructions as shown in the sample below.
Page 44 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
The Structure of an SX Assembly Program
;---------------------------------------
;|
;|
;|
;---------------------------------------
; =====Device data and Equates=====
pvdd
data_out_a
; =====Variables=====
xbit_in
data_low
data_high
pulses
; =====Begin code=====
; =====JUMP TABLE=====
; =====PC COMMUNICATION=====
get_data
send_okay
send_data
:go
DEVICE
org
org
jmp
jmp
jmp
XYZ Controller
Written by John Doe
(C) 1997 Company, Inc.
SX28, OSCHS2, PROTECT
ID ’V2.1’
RESET Main
EQU
EQU
$08
ds 1
ds 1
ds 1
ds 1
$000
read
program
pin_mode
mov
clrb
jmp
mov
mov
mov
jmp
mov
clc
setb
rc.1
%1100
w,#19
dc
send_data:bits
w,#$00
data_low,w
w,#4
send_data:go
w,#19
dc
Version 2.1
12/01/97
;vdd
;point to start of ram
;pc communication data
;programming pulse count
;$00 = read device
;$01 = program device
;$07 = pin mode
;ready
;set receive mode
;receive word into data
;ready null+0+16outdata+1
;clear carry for stop bit
;set transmit mode
|
|
|
Comments
Directives
Symbols
Mnemonics
Operands
Labels
Related parts for 45111
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Terminals 3 Pin Single Row Header (long)
Manufacturer:
Parallax Inc
Part Number:
Description:
Headers & Wire Housings 16 Pin Single Row Header
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: