~z88dk-team/z88dk-pkg/trunk

« back to all changes in this revision

Viewing changes to libsrc/z80_crt0s/crt0/l_uge.asm

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2008-02-12 08:23:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080212082349-wgijt44scmgje90o
Tags: 1.7.ds1-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - build z88dk and z88dk-bin binary packages for lpia too
  - update Maintainer field as per spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
;
7
7
;       13/5/99 djm, inverted carry conditions
8
8
 
9
 
                XLIB    l_uge
10
 
                LIB     l_ucmp
 
9
XLIB    l_uge
11
10
 
12
11
;
13
 
;......logical operations: HL set to 0 (false) or 1 (true)
14
 
;
15
12
; DE >= HL [unsigned]
 
13
; set carry if true
 
14
 
 
15
 
16
16
.l_uge
17
 
        call    l_ucmp
18
 
        ccf
19
 
        ret
 
17
 
 
18
   ld a,d
 
19
   cp h
 
20
   ccf
 
21
   ret nz
 
22
   ld a,e
 
23
   cp l
 
24
   ccf
 
25
   ret
 
26
 
 
27
;        call    l_ucmp
 
28
;        ccf
 
29
;       ret
20
30