14 lines
		
	
	
		
			285 B
		
	
	
	
		
			ArmAsm
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			285 B
		
	
	
	
		
			ArmAsm
		
	
	
		
			Executable File
		
	
	
	
	
!	strcmp()					Author: Kees J. Bot
 | 
						|
!								1 Jan 1994
 | 
						|
.sect .text; .sect .rom; .sect .data; .sect .bss
 | 
						|
 | 
						|
! int strcmp(const char *s1, const char *s2)
 | 
						|
!	Compare two strings.
 | 
						|
!
 | 
						|
.sect .text
 | 
						|
.define _strcmp
 | 
						|
	.align	16
 | 
						|
_strcmp:
 | 
						|
	mov	ecx, -1		! Unlimited length
 | 
						|
	jmp	__strncmp	! Common code
 |