MCU-External Expansion Port

Publisher:LovingLife2023Latest update time:2015-07-08 Source: 51heiKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

 

 ;===========================================================
Xport                Equ         06000H
XRead                Equ         0A000H
;===========================================================
                     org         0000H
                     Ajmp        main
;===========================================================
                     Mov         R6,#40
Delay:               Mov         R7,#0
Delay1:              Djnz        R7,Delay1
                     Djnz        R6,Delay
                     Right
;===========================================================                    
main:
main loop:
                     Mov Dptr,#XRead
                     MovX A,@Dptr
                     Mov Dptr,#Xport
                     MovX @Dptr,A                    
                     Ajmp mainloop     
;===========================================================
                     End
Keywords:MCU Reference address:MCU-External Expansion Port

Previous article:Proteus 8 LED lights in four different styles
Next article:MCU - Multi-task Programming

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号