* Copyright (c) 1991 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
.asciz "@(#)hl_le_s.s 5.2 (Berkeley) 4/12/91"
cmpl 12(fp),16(fp) /* if (la <= lb) */
movl 12(fp), r2 /* compare according to la */
jleq out1 /* if less or equal return(1) */
jbr out0 /* else greater: return(0) */
movl 16(fp), r2 /* compare according to lb */
jlss out1 /* if less return(1) */
jgtr out0 /* if greater return(0) */
addl3 4(fp), 12(fp), r2 /* aend */
cmpb (r0), $32 /* if *a != space */
jneq out0 /* then astring > bstring */
incl r0 /* else continue */
cmpl r0, r2 /* till aend */
movl $1, r0 /* else return(1) */