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

📄 _ispunct.asm

📁 很少见的源码公开的msc51和z80的c编译器。
💻 ASM
字号:
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:51 2001;--------------------------------------------------------	.module _ispunct	;--------------------------------------------------------; Public variables in this module;--------------------------------------------------------	.globl _ispunct;--------------------------------------------------------; special function registers;--------------------------------------------------------;--------------------------------------------------------; special function bits ;--------------------------------------------------------;--------------------------------------------------------; internal ram data;--------------------------------------------------------	.area _DATA;--------------------------------------------------------; overlayable items in internal ram ;--------------------------------------------------------	.area _OVERLAY;--------------------------------------------------------; indirectly addressable internal ram data;--------------------------------------------------------	.area _ISEG;--------------------------------------------------------; bit data;--------------------------------------------------------	.area _BSEG;--------------------------------------------------------; external ram data;--------------------------------------------------------	.area _XSEG;--------------------------------------------------------; global & static initialisations;--------------------------------------------------------	.area _GSINIT	.area _GSFINAL	.area _GSINIT;--------------------------------------------------------; Home;--------------------------------------------------------	.area _HOME	.area _CODE;--------------------------------------------------------; code;--------------------------------------------------------	.area _CODE;	_ispunct.c 25;	genLabel;	genFunction;	---------------------------------; Function ispunct; ---------------------------------___ispunct_start:_ispunct:	;	_ispunct.c 28;	genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0;	AOP_STK for 	lda	hl,2(sp)	ld	a,(hl)	push	af	inc	sp;	genCall	call	_isprint	ld	c,e	lda	sp,1(sp);	genIfx	xor	a,a	or	a,c	jp	z,00102$;	_ispunct.c 29;	genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0;	AOP_STK for 	lda	hl,2(sp)	ld	a,(hl)	push	af	inc	sp;	genCall	call	_islower	ld	c,e	lda	sp,1(sp);	genIfx	xor	a,a	or	a,c	jp	nz,00102$;	_ispunct.c 30;	genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0;	AOP_STK for 	lda	hl,2(sp)	ld	a,(hl)	push	af	inc	sp;	genCall	call	_isupper	ld	c,e	lda	sp,1(sp);	genIfx	xor	a,a	or	a,c	jp	nz,00102$;	_ispunct.c 31;	genCmpEq;	AOP_STK for ; genCmpEq: left 1, right 1, result 0	lda	hl,2(sp)	ld	a,(hl)	cp	a,#0x20; Rule 5: Changed jump logic	jp	z,00102$00114$:;	_ispunct.c 32;	genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0;	AOP_STK for 	lda	hl,2(sp)	ld	a,(hl)	push	af	inc	sp;	genCall	call	_isdigit	ld	c,e	lda	sp,1(sp);	genIfx	xor	a,a	or	a,c	jp	nz,00102$;	_ispunct.c 33;	genRet	ld	e,#0x01	jp	00107$;	genLabel00102$:;	_ispunct.c 34;	genRet	ld	e,#0x00;	genLabel00107$:;	genEndFunction		ret___ispunct_end:	.area _CODE

⌨️ 快捷键说明

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