ARM: Add missing instruction.

* lib/arm-mes/arm.M1: Add missing define.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-08-23 11:07:50 +02:00
parent 1c06c0170a
commit 3973e87219
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -1,5 +1,5 @@
### GNU Mes --- Maxwell Equations of Software
### Copyright © 2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
### Copyright © 2017,2018,2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
### Copyright © 2019,2020 Danny Milosavljevic <dannym@scratchpost.org>
###
### This file is part of GNU Mes.
@ -229,6 +229,11 @@ DEFINE strh___%r2,(%r2) b020c2e1 # strh r2, [r2]
DEFINE strh___%r3,(%r3) b030c3e1 # strh r3, [r3]
DEFINE strh___%r4,(%r4) b040c4e1 # strh r4, [r4]
# tcc
DEFINE ldrsb__%r2,(%r0) d020d0e1 # ldrsb r2, [r0]
DEFINE strh___%r2,(%r1) b020c1e1 # strh r2, [r1]
DEFINE strb___%r2,(%r1) 0020c1e5 # strb r2, [r1]
# There's a single instruction that does it--but I don't know how to encode it.
# mov %r9, immediate
# add %r9, %r9, %fp