ARM: Fix armv4:zf->r.

* module/mescc/armv4/as.scm (armv4:zf->r): Use the correct macros.
This commit is contained in:
Danny Milosavljevic 2019-02-20 00:12:37 +01:00 committed by Jan Nieuwenhuizen
parent a252b9ac08
commit 3b8961465f
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 2 deletions

View File

@ -94,8 +94,8 @@
;; Zero flag to register.
(define (armv4:zf->r info)
(let* ((r (get-r info)))
`(((#:immediate1 #x00) ,(string-append "mov___$i8,%" r))
((#:immediate1 #x01) ,(string-append "moveq_$i8,%" r)))))
`(((#:immediate1 #x00) ,(string-append "mov____$i8,%" r))
((#:immediate1 #x01) ,(string-append "moveq__%" r ",$i8")))))
;; C NOT Register value.
(define (armv4:r-negate info)