Home
User Manual
Contents
1. 10 Confidential BiTEK Assembler2 User Manual Revision 0 01 CLR 0 0 0 0 0 1 0 0 1 A 0 Z COMP 0 0 0 0 0 1 0 1 1 A B not update A C Z DEC 0 0 0 0 0 0 1 1 1 A A 1 C Z DELAY NUM 0 0 1 0 0 0 1 0 2 N7 N6 N5 N4 N3 N2 N1 NO 2 DELAY dec hex symbol XCLKs FILL R Raddr Num Cnt 0 0 1 1 1 10 9 R8 4 R7 R6 R5 R4 R3 R2 R1 RO N7 N6 N5 N4 N3 N2 N1 NO C7 C6 C5 C4 C3 C2 C1 0 For Idx 0 to Cnt do R Raddr Idx lt Num FILLR 1 1 0 1 1 1 0 0 1 For Idx 0 to REG CNT do R REG ADDR Idx lt REG NUM HALT 0 0 0 0 0 1 1 1 1 Halt program and stay at standby mode INC 0 0 0 0 0 0 1 0 1 A lt A 1 C Z JB Eaddr Bit 1 0 B2 B1 BO E10 E9 E8 2 E7 EG E5 EA E3 E2 El EO if A Bit 1 PC lt Eaddr else PC lt PC 1 BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 11
2. SHL 0 0 0 0 1 1 0 1 1 A A lt lt 1 Z SHR 0 0 0 0 1 1 0 0 1 A A gt gt 1 Z SUB 0 0 0 0 0 0 0 1 1 A lt A B C Z SWAP 0 0 0 0 1 1 1 0 1 A lt B Z TABLE 1 1 0 1 1 1 0 1 1 A E REG ADDR Z XOR 0 0 0 0 1 0 1 0 1 A A xor B Z Xsymbol dec hex means the argument accepts symbols or decimal numbers or hexadecimal numbers BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 14
3. 3 3 3 3 3 3 3 3 3 3 3 Copyright c 2085 2089 Beyond Innovation Technology Co Ltd Figure 9 Download button 1 3 5 EEPROM D BIT1612criptMCUXAD70V W044070V WO4 BITI612 v005 ASM INS aaa 3 3 3 3E 3 3 3E E JE 3 3 3 3 3 9 3 3 3 3 3 9 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 EE 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 3 3 3 3 Copyright c 2805 2889 Beyond Innovation Technology Co Ltd Figure 10 EEPROM button BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 4 Confidential BiTEK Assembler2 User Manual Revision 0 01 1 4 Error Message lu s Error 01 Line 1 02 Syntax Error Line 1 Assemble Failed Code size Gbytes Utility ratio 0 146 Check sum 0000 7067 PORT 0x378 Figure 11 Error message window 15 EEPROM interface The EEPROM is a simple interface EEPROM read write utility When a cell is selected and modified it is necessary to press lt Enter gt key to update the content BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 5 Confidential BiTEK Assembler2 User Manual Revision 0 01 ja lx EEPROM _ Files Help EISE Bank Select Ze DOFF
4. Confidential BiTEK Assembler2 User Manual Revision 0 01 JC Eaddr 1 1 1 0 0 E10 E9 E8 2 E7 E6 E5 EA4 E3 E2 El EO if C 1 PC Eaddr else PC PC 1 JMP Eaddr 1 1 1 1 X F10 E9 ES8 2 E7 E6 E5 EA4 E3 E2 El EO PC Eaddr JMPR REG ADDR 1 1 0 1 1 1 1 1 1 PC lt REG ADDR JZ EADDR 1 1 1 0 1 E10 E9 E8 2 E7 E6 E5 E4 E3 E2 El EO if Z 1 PC Eaddr else PC lt PC 1 MOV A Num 0 0 1 0 0 0 0 0 2 N7 N6 N5 N4 N3 N2 N1 NO A Num Z MOV A E Eaddr 1 1 0 0 1 E10 E9 E8 2 E7 E6 E5 E4 E3 E2 El EO A E Eaddr Z MOV A I Iaddr 1 1 0 1 1 0 0 0 2 I7 I6 I5 I4 13 12 11 IO A lt I Iaddr Z MOV A R Raddr 0 0 0 1 0 IR10 R9 R8 2 R7 R6 R5 R4 R3 R2 R1 RO A R Raddr Z MOVB A 0 0 0 0 0 1 1 0 1 B A BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 12 Confidential BiTEK Assembler2 User Manual Revision 0 01 MOV B Num 0 0 1 0 0 0 0 1 2 N7 N6 N5 N4 N3 N2 N1 NO B lt Num MOV E Eaddr A 1 1 0 O0 0 E10 E9 E8 2 E7 E6 E5 EA4 E3 E2 El EO E Eaddr lt A MOV E Eaddr Num 0 O 1 O 1 E10 E9 E8 3 E7 E6 E5 E4 E3 E2 El EO N7 N6 N5 N4
5. N3 N2 N1 NO E Eaddr lt Num MOV I laddr A L 10 2 0 010 0 2 I7 I6 15 14 13 12 11 IO I Iaddr lt A MOV R Raddr A O O O 1 1 RIO R9 R8 2 R7 R6 R5 R4 R3 R2 R1 RO R Raddr A MOV R Raddr Num 0 0 1 1 O R10 R9 R8 3 R7 R6 R5 R4 R3 R2 R1 RO N7 N6 N5 N4 N3 N2 N1 NO R Raddr lt Num MOV R Raddr E Eaddr Cnt 0 1 E10 E9 E8 R10 R9 R8 4 E7 E6 E5 E4 53 E2 El EO R7 R6 R5 R4 R3 R2 R1 RO N7 N6 N5 N4 N3 N2 N1 NO For Idx 0 to Cnt do R Raddr Idx lt E Eaddr Idx BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 13 Confidential BiTEK Assembler2 User Manual Revision 0 01 MOV S Num 111011 0111010 4 N23 N22 N21 N20 N19 N18 N17 N16 N15 N14 N13 N12 N11 N10 N9 N8 N7 N6 N5 N4 N3 N2 N1 NO SPI lt Num up to 2 1 NOT 0000110 111 1 A A Z NOTC 00 1101010 0 1 C lt 4C C NOTZ 0 0 1 01 1 0 1 1 011 1 Z lt Z Z OR 00 01 01 1 1 0 0 1 1 A A or B Z RET 0 0 11 01 1 0 1 14 0 1 PC RET ADDR
6. decimal hexadecimal argument numbers and symbols TEST1 012H argument numbers and symbols Example TEST EQU 01234H TEST1 EQUH TEST TESTI 034H 2 4 Memory Initialization 2 4 1 Define Byte Name DB Format DB number number number DB symbol symbol symbol DB number symbol symbol BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 9 Confidential BiTEK Assembler2 User Manual Revision 0 01 DB number Note numbers are 8 bit byte values 2 4 2 Define String Name DS Format DS expression Note expression is a string between and 2 4 3 Define Word Name DW Format DW Symbol name Note DW reserve a 2 byte long space in memory 2 5 Instruction Set Identifier Description A Accumulator 8 bit B B register 8 bit C Carry flag Z Zero flag PC Program counter 11 bit Eaddr EEPROM address 11 bit Raddr Internal Register Set address 11 bit Iaddr I C sub address 8 bit REG ADDR ADDR register 11 bit REG NUM NUM register 8 bit REG CNT CNT register 8 bit ADD 0 0 0 0 0 0 0 0 1 A A B C 2 AND 0 0 0 0 1 0 0 0 1 A A and B CALL Eaddr 1 1 1 1 1 E10 E9 E8 2 E7 E6 E5 E4 E3 E2 El EO RET ADDR lt PC 1 PC lt Eaddr BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd
7. Assembl es l 1811 Per ner copio esame eere PESE Guau ES 4 1 3 2 Download rss Pers pst Cases duds esx cae S rs rer 4 1 3 3 PP PROM ege 4 1 4 Error Message usa deele eege 5 1 5 EEPROM interface 5 1 5 1 Erase DUtioma mil a nn me Ehe 6 2 ASSEMBLY PROGRAMMING RULES 8 2 1 Namiing TUES rt 8 2 1 1 ENEE a ned 8 2 1 2 PabelS me PR Ee 8 2 1 3 L t EEN 8 2 1 4 D cimalnumbhers retraites rs res E hier 8 2 1 5 Hexadecimal numbers a 8 2 2 Address control u en ots e Po Eed o soa epe de ono ede po abe eeu od oe eae naiss aides 9 2 3 Symbol definition 9 2 4 Memory Initialization 9 2 4 1 Randy D U HH PQ 9 2 4 2 D fine SEIBE eos dt ha a pag ee 10 2 4 3 Define Word ma gagu amia ettet ah AM Eed 10 2 5 rie WT GE 10 BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd iii Confidential BiTEK Assembler2 User Manual Revision 0 01 LIST OF FIGURES FGURA EE OC 1 FIGURE 2 THE TITLE DISPLAYS THE CURRENT EDITING FILE 2 FIGURE 3 ACTIVE STATUS AND LINENUMBER 2
8. FIGURE 4 RESULT OF ASSEMBLING OR VERIFYING ener 3 FIGURE 5 CODE SIZE AND UTILITY RATIO nasa 3 FIGURE G CHECK SUM se na na RR Ns 3 FIGURE 7 PORT TYPE L q anan Sau aaa aha a ener eed pott e 3 FIGURE 8 ASSEMBLE BUTTON 4 FIGURE 9 DOWNLOAD BUTTON 4 FIGURE 10 EEPROM BUTTON ariete ero notre Goes arae Tote Weed s Gov ea tos tees gode eu oO 4 FIGURE 11 ERROR MESSAGE WINDOW esse eee ee 5 FIGURE 12 EEPROM INTERFACE LOOKS ener 6 FIGURE L3 ERASE BUTTON ecce dese eoe e ne ads de A M A u dr 7 BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd iv Confidential BiTEK Assembler2 User Manual Revision 0 01 1 Introduction 1 1 Brief description This manual describes how to program BiT161x device with assembler utility The assembler utility contains five files assembler BITEK_ASM2_v008 exe file Winlo dll Winlo vxd Winlo sys and SiUSBXp dll These five files must be in the same folder ER ID x RECECE 24632 4096 Figure 1 Assembler2 1 2 Title and status bar When an assembly file is loaded into the assembler utility the title will display the complete file name BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 1 Confidential BiTEK Assembler2 User Manual Revision 0 01 2criptMCU 4070V WO4 A070V WO4 BITIS12 v005 A45M 10 x BEER Copyright c 2885 2889 Be
9. Script MCU Assembler2 Tool User Manual July 24 2009 Jeffrey Chang Confidential Copyright 2005 2009 by Beyond Innovation Technology Co Ltd All rights are reserved Reproduction in whole or in part is prohibited without the written consent of the copyright owner Confidential BiTEK Assembler2 User Manual Revision 0 01 Revision History July 24 2009 Jeffrey Chang Copyright O 2005 2009 Beyond Innovation Technology Co Ltd All rights are reserved Reproduction in whole or in parts is prohibited without the prior written consent of the copyright owner The information presented in this document does not form part of any quotation or contract is believed to be accurate and reliable and may be changed without notice No liability will be accepted by the publisher for any consequence of its use Publication thereof does not convey nor imply any license under patent or other industrial or intellectual property rights The software described in this document is furnished under license agreement or nondisclosure agreement and may be used or copied only in accordance with the terms of the agreement It is against the law to copy the software on any medium except as specifically allowed in the license or nondisclosure agreement No part of this manual may be reproduced or transmitted in any form or by any means electronic or mechanical including photocopying recording or information storage and retrieval systems for any pu
10. TUFF C DFF O2FF O3FF 4 FF er FF FF FF FF FF FF F FF FF O4FF Ehm FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF OSFF El FF FF FF F FF FF FF FF FF FF FF FF FF FF oer 7 FF er FF FF FF FF FF FF FF FF FF lee O7FF Em FF FF FF FF FF FF FF FF FF FF El FF FF F FF FF FF FF FF FF FF FF FF FF CFE A FF FF F F FF FF FF FF F FF FF F FF FF FF FF Tur B Jr FF FF FF FF FF FF FF FF FF FF FF FF FF m rr ec FF Fr FF FF FF FF FF FF FF FF ODFF p FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF er Seger FF FF FF FF FF FF FF FF FF FF FF DEFF 1EFF FE FF FF FF FF FF FF FF FF FF FF FF Read One Write One Write e e Cc C e e Cc e UREE OMEFF 1 OM MEM OFFF 1FFF E E Figure 12 EEPROM interface looks 1 5 1 Erase button The ERASE button will set all the EEPROM content to default value 0x07 BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 6 Confidential BiTEK Assembler2 User Manual Revision 0 01 ana RE R Figure 13 Erase button BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 7 Confidential BiTEK Assembler2 User Manual Revision 0 01 2 Assembl
11. rpose other than for the purchaser s personal use without written permission Life Support Applications These products are not designed for use in life support appliances devices or systems where malfunction of these products can reasonably be expected to result in personal injury Beyond Innovation Technology BiTEK customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Beyond Innovation Technology for any damages resulting from such improper use or sale Disclaimer Beyond Innovation Technology reserves the right to make changes without notice in the products including circuits standard cells and or software described or contained herein in order to improve design and or performance Beyond Innovation Technology assumes no responsibility or liability for the use of any of these products conveys no license or title under any patent copyright or mask work right to these products and makes no representations or warranties that these product are free from patent copyright or mask work right infringement unless otherwise specified BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd ii Confidential BiTEK Assembler2 User Manual Revision 0 01 CONTENTS 1 INTRODUCTION eecht 1 1 1 Brief d Scripti Du s a u M 1 1 2 Titleand status DAE 5 25 3 ci cos ssh S Su u Q ec eco tasses 1 1 3 Function o Buttons eg 93 5 0 e eid i ege 4 1 3 1
12. ssemble OK Code size 1770 bytes Utility ratio 43 213998 Check sum 0002 40B6 P Figure 6 Check sum D pr ULELLOU unut appittavic vupyr ayut mile igne arc ry ec cr Anu use in winlation nf the fnrennina rectrictinns man cuhiect the 24C32 4096 Assemble OK Code size 1770 bytes Utility ratio 43 213 Check sum 0002 40B6 Figure 7 Port type nees BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 3 Confidential BiTEK Assembler2 User Manual Revision 0 01 1 3 Function of Buttons 1 3 1 Assemble GA DABIT1612ScriptMCU RITU nins Config Help a HHH HHH 3E 3 3 9 3 3 9 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 3 3 vU AM Copyright c 2085 2089 Beyond Innovation Technology Co Ltd Figure 8 Assemble button 1 3 2 Download DABIT1612ScriptMCU RAT Un _v005 ASM 3 3 3 EE 3 3 9 3 3E 3 9 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
13. y programming rules 2 1 Naming rules 2 1 1 Symbols Symbols includes EQU Names and Labels are composed of the following list A Z a z 0 9 and A symbol name can start with these characters except the digits 0 9 2 1 2 Labels A label is a symbol but ended in a colon character When a label is defined it must be the first text field in a line Only space tab and comments are allowed to exist after a label Example LABEL 1 MOVB A wrong 2 1 3 Comments All characters that come after are comments Example This is a comment sample LABEL 1 This is another 2 1 4 Decimal numbers Decimal numbers can be written as following format 3 127 3d and 3D 2 1 5 Hexadecimal numbers Hexadecimal numbers must start with 0 and end in H or h OFFh OEAH and 0235H BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 8 Confidential 2 2 Address control BiTEK Assembler2 User Manual Revision 0 01 Argument decimal numbers hexadecimal numbers symbols Name ORG Format ORG argument Example START EQU 0000H ORG START ORG 200 ORG 0300H 2 3 Symbol definition Name EQU Format symbol name EQU argument Argument decimal and hexadecimal numbers Example STARTU EQU 000H Name EQUH Format symbol name EQUH Argument decimal hexadecimal Example TEST TESTI EQU 01234H EQUH TEST Name EQUH Format symbol name EQUL Argument
14. yond Innovation Technology Co Ltd All rights are reserved Reproduction in whole or in parts is prohibited without the prior written consent of the copyright ouner Software License Agreement The software supplied herewith by Beyond Innovation Technology Co Ltd the Company is intended and supplied to you the Company s custamer Cor use salelu and evcluciunelu an RiTFK neaducts Figure 2 The title displays the current editing file path The status bar shows the line number of the cursor position active status and the result after data verifying Anu use in ninlation nf the Fnrenninn rectrictinncs mau suhiert the sf L Figure 3 Active status and line number BITEK ASM2 2005 2009 Beyond Innovation Technology Co Ltd 2 Confidential BiTEK Assembler2 User Manual a PrULELLEUu unucr appaacaurc vupyrignt LAWD nii rignt are rec cr VEU fini use in nminlatinn nf the fnrennina rectrictinns man cuhiect the Figure 4 Result of assembling or verifying H prucceccu unucr apprieauic vcupyrignt idwo nii rignt are rc cr Anu use in nminlatinn nf the fnrennina rectrictinns man cuhiect the 24C32 4096 Assemble OK Code size 1770 bytes Utility ratio 43 213 Wheck sum 0002 40B6 Figure 5 Code size and utility ratio s prucceccu unucr appaacaurc vcupyrignt idwo nii rignvt are rc cr Anu use in winlation nf the fnrennina rectrictinns man cuhiect the Revision 0 01 24C32 4096 A
Download Pdf Manuals
Related Search
Related Contents
Sony KV-V1430K TV VCR Combo User Manual TFS-DP-22 - Trick Flow warning 2.2. Los estándares de Inmarsat Inmarsat Philips JW-0611 GB User's Manual Dossier de candidature Stamina Products Magnetic Resistance Recumbent Bike 15-4760 User's Manual Copyright © All rights reserved.
Failed to retrieve file