Mercurial > hg > Members > shinya > pyrect
view code/as/reg.ll.s @ 112:fcac8224a2e9 default tip
modify memchr parameter.
author | Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 12 Feb 2011 17:00:23 +0900 |
parents | 02656ea776f3 |
children |
line wrap: on
line source
.text .align 4,0x90 .globl _main _main: Leh_func_begin1: Llabel1: subl $12, %esp movl $4, (%esp) call _malloc movl 16(%esp), %ecx movl %ecx, (%eax) .align 4,0x90 LBB1_1: ## state_1_3_5_6_7 movl (%eax), %ecx leal 1(%ecx), %edx movl %edx, (%eax) movb __unnamed_1_0(%ecx), %cl cmpb $65, %cl je LBB1_1 ## state_1_3_5_6_7 LBB1_2: ## state_1_3_5_6_7 cmpb $66, %cl je LBB1_1 ## state_1_3_5_6_7 LBB1_3: ## state_1_3_5_6_7 cmpb $67, %cl jne LBB1_6 ## reject LBB1_4: ## state_8 movl (%eax), %ecx leal 1(%ecx), %edx movl %edx, (%eax) movb __unnamed_1_0(%ecx), %cl testb %cl, %cl jne LBB1_6 ## reject LBB1_5: ## accpet movl %eax, (%esp) call _free movl $1, %eax addl $12, %esp ret LBB1_6: ## reject movl %eax, (%esp) call _free xorl %eax, %eax addl $12, %esp ret Leh_func_end1: .data .globl __unnamed_1_0 __unnamed_1_0: ## .asciz "ABBBBBBC" .globl __unnamed_2_1 .align 4 __unnamed_2_1: ## .asciz "state: %s, arg: %c(int %d)\n" .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support EH_frame0: Lsection_eh_frame: Leh_frame_common: .set Lset1eh,Leh_frame_common_end-Leh_frame_common_begin .long Lset1eh Leh_frame_common_begin: .long 0x0 .byte 0x1 .asciz "zR" .byte 0x1 .byte 0x7C .byte 0x8 .byte 0x1 .byte 0x1B .byte 0xC .byte 0x5 .byte 0x4 .byte 0x88 .byte 0x1 .align 2 Leh_frame_common_end: .globl _main.eh _main.eh: .set Lset2eh,Leh_frame_end1-Leh_frame_begin1 .long Lset2eh Leh_frame_begin1: .long Leh_frame_begin1-Leh_frame_common .long Leh_func_begin1-. .set Lset3eh,Leh_func_end1-Leh_func_begin1 .long Lset3eh .byte 0x0 .byte 0xE .byte 0x10 .byte 0x4 .set Lset4eh,Llabel1-Leh_func_begin1 .long Lset4eh .byte 0xD .byte 0x5 .align 2 Leh_frame_end1: .subsections_via_symbols