| Zakładka z wyszukiwarką danych komponentów |
|
45111 Arkusz danych(PDF) 44 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
45111 Arkusz danych(HTML) 44 Page - List of Unclassifed Manufacturers |
|
44 / 184 page ![]() 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 |
|
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 |
| 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 |