⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loop_test.asm

📁 可移植的MicroChip的PIC全系列单片机软件仿真器
💻 ASM
字号:
	list	p=16c84	;; The purpose of this program is to test gpsim's ability to simulate looping instructions.	;; It's also used to get a rough bench mark on performance. (set a break point after the loop,	;; run the program, check the number of cycles...	  cblock  0x20	temp1	temp2	temp3	adr_cnt	data_cnt	w_temp	status_temp  endcstatus	equ	3rp0	equ	5intcon	equ	0x0bgie	equ	7eeie	equ	6eecon1	equ	0x08rd	equ	0wr	equ	1wren	equ	2eeif	equ	4eecon2	equ	0x09eedata	equ	0x08eeadr	equ	0x09		org 0	goto	start		org	4start	clrf	temp1	clrf	temp2	movlw   5	movwf	temp3begin	decfsz	temp1,f	 goto   begin	decfsz  temp2,f	 goto   begin	decfsz  temp3,f	 goto   begin	goto    start	end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -