PLC TM卡開發系統匯編程序(ATM8051)
;***************** 定義管腳*************************SCL BIT P1.0SDA BIT P1.1GC BIT P1.2BZ BIT P3.6LEDI BIT P1.4LEDII BIT P1.5OK BIT 20H.1OUT1 BIT P1.3OUT2 BIT P1.0OUT3 BIT P1.1RXD BIT P3.0TXD BIT P3.1PCV BIT P3.2WPC BIT P3.3RPC BIT P3.5LEDR BIT P3.4LEDL BIT P3.6TM BIT P3.7;********************定義寄存器***********************ROMDTA EQU 30H;NUMBY EQU 61H;SLA EQU 60H;MTD EQU 2FH;MRD EQU 40H;TEMP EQU 50H;;ORG 00H;;INDEX:MOV P1, #00H;MOV P2, #0FFHMOV MTD ,#00HCALL REEMOV R0,40HCJNE R0,#01,NO;MOV P2,#1CHLJMP VIMEN MOV P2,#79HACALL TOUCHRESET ;JNC NO ;CALL READTM ;CJNE A,#01H,NO;NOPMOV MTD, #00HCALL WEENOPMOV P2,#4AHSETB BZCALL TIMECLR BZMOV PCON, #0FFHVIME:CALL TIME1CALL TOUCHRESETJNC VIMECALL READTMCJNE A, #01H,VIME;NOPNOPNOPIII: MOV MTD,#00HCALL REECALL BBJNB OK,NO1LJMP ZHUNO1:MOV MTD,#10H
This application note describes how to implement the Bus LVDS (BLVDS) interface in the supported Altera ® device families for high-performance multipoint applications. This application note also shows the performance analysis of a multipoint application with the Cyclone III BLVDS example.
本文采用Altera公司的FPGA器件Cyclone III系列EP3C10作為核心器件構成了R-S(255,223)編碼系統;利用Quartus II 9.0作為硬件仿真平臺,用硬件描述語言Verilog_HDL實現編程,并且通過JTAG接口與EP3C10連接。R-S(Reed-Solomon)碼是一類糾錯能力很強的特殊的非二進制BCH碼,能應對隨機性和突發性錯誤,廣泛應用于各種通信系統中和保密系統中。R-S(255,223)碼能夠檢測32字節長度和糾錯16字節長度的連續數據錯誤信息。
This application note describes how to implement the Bus LVDS (BLVDS) interface in the supported Altera ® device families for high-performance multipoint applications. This application note also shows the performance analysis of a multipoint application with the Cyclone III BLVDS example.
本文采用Altera公司的FPGA器件Cyclone III系列EP3C10作為核心器件構成了R-S(255,223)編碼系統;利用Quartus II 9.0作為硬件仿真平臺,用硬件描述語言Verilog_HDL實現編程,并且通過JTAG接口與EP3C10連接。R-S(Reed-Solomon)碼是一類糾錯能力很強的特殊的非二進制BCH碼,能應對隨機性和突發性錯誤,廣泛應用于各種通信系統中和保密系統中。R-S(255,223)碼能夠檢測32字節長度和糾錯16字節長度的連續數據錯誤信息。