struct.s

来自「俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)」· S 代码 · 共 45 行

S
45
字号
* .struct* .union* .tag		REAL_REC .struct			; stag = REAL_RECNUM	.int				; NUM = 0DEN	.int				; DEN = 1REAL_LEN .endstruct			; REAL_LEN = 2		add	REAL + REAL_REC.DEN, a	; 000000 0001	.bss	REAL, REAL_LEN		; 000000 0000 (len = 2)	CPLX_REC .structREALI	.tag REAL_RECIMAGI	.tag REAL_RECCPLX_LEN .endstruct					; apply the CPLX_REC structure format to .bss var COMPLEX		.bss	COMPLEX, CPLX_LEN	; 000002 0000 (len = 4)COMPLEX .tag CPLX_REC	add	COMPLEX.REALI, a	; 000001 0002	stl	a, COMPLEX.REALI	; 000002 8002	add	COMPLEX.IMAGI, b	; 000003 0104	; anonymous struct; symbols become global	.structX	.intY	.intZ	.int	.endstruct 			BIT_REC	.structSTREAM	.string	64			;BIT7	.field	7			; bit7 = 64BIT9	.field	9			; bit9 = 64BIT10	.field	10			; bit10 = 65X_INT	.int				; x_int = 66BIT_LEN .endstruct			; bit_len = 67		.bss	BITS, BIT_LEN		; 000006 0000 (len = 67)BITS	.tag	BIT_REC		add	BITS.BIT7,a		; 000004 0046	and	#007Fh, a		; 000005 f030					; 000006 007f	.end

⌨️ 快捷键说明

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