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

📄 vr_function.asm

📁 图象识别礼包 原理图采用OrCad软件或PowerPCB软件打 识别各种格式 位图 矢量图
💻 ASM
📖 第 1 页 / 共 3 页
字号:
	PC=L77
L82:
	pc=L76	// jump
L77:
	R1=30	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call with return value
	SP=SP+1
	pc=L75	// jump
L76:
.debug
	.dw '.stabn 0x44,0,243,',0,0
	.dd LM112-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM112:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=28677	// QImode move
	[SP--]=R1	// QImode move
	call _SP_Export	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,244,',0,0
	.dd LM113-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM113:
	R1=0	// QImode move
	[_VR_TimeFlag]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,245,',0,0
	.dd LM114-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM114:
	R1=0	// QImode move
	[_VR_TimeDeldy]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,246,',0,0
	.dd LM115-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM115:
L78:
	R1=[_VR_TimeFlag]	// QImode move
	CMP R1,1	// QImode compare
	JZ L83	// QImode NE
	PC=L80
L83:
	pc=L73	// jump
L80:
	R1=30	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call with return value
	SP=SP+1
	pc=L78	// jump
L79:
.debug
	.dw '.stabn 0x44,0,247,',0,0
	.dd LM116-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM116:
LBE10:
.debug
	.dw '.stabn 0x44,0,236,',0,0
	.dd LM117-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM117:
L73:
	R1=BP	// QImode move
	R2=BP+1
	R3=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L71	// jump
L72:
.debug
	.dw '.stabn 0x44,0,248,',0,0
	.dd LM118-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM118:
LBE9:
.debug
	.dw '.stabn 0x44,0,248,',0,0
	.dd LM119-_EagleGoBack
	.dw 0x0d,0x0a
.code
LM119:
L70:

	sp+=3
	pop bp from [sp]
	retf
	.endp	// end of EagleGoBack

.debug
	.dw '.stabs "Step:p1",160,0,0,6',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB9-_EagleGoBack
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "k:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB10-_EagleGoBack
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE10-_EagleGoBack
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE9-_EagleGoBack
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME5-_EagleGoBack
	.dw 0x0d,0x0a
.code
LME5:
.code
.debug
	.dw '.stabs "EagleTurnLeft:F1",36,0,0,',0,0,offset _EagleTurnLeft,seg _EagleTurnLeft,0x0d,0x0a
.CODE
.public _EagleTurnLeft
_EagleTurnLeft:	.proc
.debug
	.dw '.stabn 0x44,0,257,',0,0
	.dd LM120-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM120:
	// total=3, vars=3
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=3
	bp=sp+1

	R1=BP+6
	[bp+2]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,258,',0,0
	.dd LM121-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM121:
LBB11:
.debug
	.dw '.stabn 0x44,0,260,',0,0
	.dd LM122-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM122:
	R1=BP	// QImode move
	R2=BP+1
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
L85:
	R1=BP	// QImode move
	R2=BP+1
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	R2=[bp+2]	// QImode move
	CMP R1,[R2]	// QImode compare
	JNL L95	// QImode LT
	PC=L88
L95:
	pc=L86	// jump
L88:
.debug
	.dw '.stabn 0x44,0,262,',0,0
	.dd LM123-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM123:
LBB12:
	R1=9216	// QImode move
	[SP--]=R1	// QImode move
	R1=28677	// QImode move
	[SP--]=R1	// QImode move
	call _SP_Export	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,263,',0,0
	.dd LM124-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM124:
	R1=0	// QImode move
	[_VR_TimeFlag]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,264,',0,0
	.dd LM125-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM125:
	R1=0	// QImode move
	[_VR_TimeDeldy]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,265,',0,0
	.dd LM126-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM126:
L89:
	R1=[_VR_TimeFlag]	// QImode move
	CMP R1,1	// QImode compare
	JZ L96	// QImode NE
	PC=L91
L96:
	pc=L90	// jump
L91:
	R1=40	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call with return value
	SP=SP+1
	pc=L89	// jump
L90:
.debug
	.dw '.stabn 0x44,0,267,',0,0
	.dd LM127-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM127:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=28677	// QImode move
	[SP--]=R1	// QImode move
	call _SP_Export	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,268,',0,0
	.dd LM128-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM128:
	R1=0	// QImode move
	[_VR_TimeFlag]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,269,',0,0
	.dd LM129-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM129:
	R1=0	// QImode move
	[_VR_TimeDeldy]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,270,',0,0
	.dd LM130-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM130:
L92:
	R1=[_VR_TimeFlag]	// QImode move
	CMP R1,1	// QImode compare
	JZ L97	// QImode NE
	PC=L94
L97:
	pc=L87	// jump
L94:
	R1=25	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call with return value
	SP=SP+1
	pc=L92	// jump
L93:
.debug
	.dw '.stabn 0x44,0,271,',0,0
	.dd LM131-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM131:
LBE12:
.debug
	.dw '.stabn 0x44,0,260,',0,0
	.dd LM132-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM132:
L87:
	R1=BP	// QImode move
	R2=BP+1
	R3=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L85	// jump
L86:
.debug
	.dw '.stabn 0x44,0,272,',0,0
	.dd LM133-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM133:
LBE11:
.debug
	.dw '.stabn 0x44,0,272,',0,0
	.dd LM134-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LM134:
L84:

	sp+=3
	pop bp from [sp]
	retf
	.endp	// end of EagleTurnLeft

.debug
	.dw '.stabs "VR_Step:p1",160,0,0,6',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB11-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "j:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB12-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE12-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE11-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME6-_EagleTurnLeft
	.dw 0x0d,0x0a
.code
LME6:
.code
.debug
	.dw '.stabs "EagleTurnRight:F1",36,0,0,',0,0,offset _EagleTurnRight,seg _EagleTurnRight,0x0d,0x0a
.CODE
.public _EagleTurnRight
_EagleTurnRight:	.proc
.debug
	.dw '.stabn 0x44,0,281,',0,0
	.dd LM135-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM135:
	// total=3, vars=3
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=3
	bp=sp+1

	R1=BP+6
	[bp+2]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,282,',0,0
	.dd LM136-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM136:
LBB13:
.debug
	.dw '.stabn 0x44,0,284,',0,0
	.dd LM137-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM137:
	R1=BP	// QImode move
	R2=BP+1
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
L99:
	R1=BP	// QImode move
	R2=BP+1
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	R2=[bp+2]	// QImode move
	CMP R1,[R2]	// QImode compare
	JNL L109	// QImode LT
	PC=L102
L109:
	pc=L100	// jump
L102:
.debug
	.dw '.stabn 0x44,0,286,',0,0
	.dd LM138-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM138:
LBB14:
	R1=6144	// QImode move
	[SP--]=R1	// QImode move
	R1=28677	// QImode move
	[SP--]=R1	// QImode move
	call _SP_Export	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,287,',0,0
	.dd LM139-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM139:
	R1=0	// QImode move
	[_VR_TimeFlag]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,288,',0,0
	.dd LM140-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM140:
	R1=0	// QImode move
	[_VR_TimeDeldy]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,289,',0,0
	.dd LM141-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM141:
L103:
	R1=[_VR_TimeFlag]	// QImode move
	CMP R1,1	// QImode compare
	JZ L110	// QImode NE
	PC=L105
L110:
	pc=L104	// jump
L105:
	R1=40	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call with return value
	SP=SP+1
	pc=L103	// jump
L104:
.debug
	.dw '.stabn 0x44,0,291,',0,0
	.dd LM142-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM142:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=28677	// QImode move
	[SP--]=R1	// QImode move
	call _SP_Export	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,292,',0,0
	.dd LM143-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM143:
	R1=0	// QImode move
	[_VR_TimeFlag]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,293,',0,0
	.dd LM144-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM144:
	R1=0	// QImode move
	[_VR_TimeDeldy]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,294,',0,0
	.dd LM145-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM145:
L106:
	R1=[_VR_TimeFlag]	// QImode move
	CMP R1,1	// QImode compare
	JZ L111	// QImode NE
	PC=L108
L111:
	pc=L101	// jump
L108:
	R1=25	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call with return value
	SP=SP+1
	pc=L106	// jump
L107:
.debug
	.dw '.stabn 0x44,0,295,',0,0
	.dd LM146-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM146:
LBE14:
.debug
	.dw '.stabn 0x44,0,284,',0,0
	.dd LM147-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM147:
L101:
	R1=BP	// QImode move
	R2=BP+1
	R3=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L99	// jump
L100:
.debug
	.dw '.stabn 0x44,0,296,',0,0
	.dd LM148-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM148:
LBE13:
.debug
	.dw '.stabn 0x44,0,296,',0,0
	.dd LM149-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LM149:
L98:

	sp+=3
	pop bp from [sp]
	retf
	.endp	// end of EagleTurnRight

.debug
	.dw '.stabs "VR_Step:p1",160,0,0,6',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB13-_EagleTurnRight
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "j:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB14-_EagleTurnRight
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE14-_EagleTurnRight
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE13-_EagleTurnRight
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME7-_EagleTurnRight
	.dw 0x0d,0x0a
.code
LME7:
.code
.debug
	.dw '.stabs "EagleStopMotor:F19",36,0,0,',0,0,offset _EagleStopMotor,seg _EagleStopMotor,0x0d,0x0a
.CODE
.public _EagleStopMotor
_EagleStopMotor:	.proc
.debug
	.dw '.stabn 0x44,0,305,',0,0
	.dd LM150-_EagleStopMotor
	.dw 0x0d,0x0a
.code
LM150:
	// total=1, vars=1
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=1
	bp=sp+1

	R1=BP+4
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,306,',0,0
	.dd LM151-_EagleStopMotor
	.dw 0x0d,0x0a
.code
LM151:
LBB15:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=28677	// QImode move
	[SP--]=R1	// QImode move
	call _SP_Export	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,307,',0,0
	.dd LM152-_EagleStopMotor
	.dw 0x0d,0x0a
.code
LM152:
LBE15:
.debug
	.dw '.stabn 0x44,0,307,',0,0
	.dd LM153-_EagleStopMotor
	.dw 0x0d,0x0a
.code
LM153:
L112:

	sp+=1
	pop bp from [sp]
	retf
	.endp	// end of EagleStopMotor

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB15-_EagleStopMotor
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE15-_EagleStopMotor
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME8-_EagleStopMotor
	.dw 0x0d,0x0a
.code
LME8:
.external _SP_Export
.external _VR_PrevResult_AreaL
.external _VR_PrevResult_AreaH
.external _VR_PrevResult_CenterX
.external _Find_Color_Shape
.external _LookAround
.external _LookAround_Initial
.external _VR_TimeDeldy
.external _VR_TimeFlag
.external _PlayRespond
.external _VR_OverFlag
.external _VR_PrevResult_Shape
.external _VR_PrevResult_Color
	.end

⌨️ 快捷键说明

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