mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Add a test case for a malformed LDC/LDC2 instructions with PUDW = 0b0000, which
amounts to an UNDEFINED instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128668 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
463d358f1d
commit
0c630b5f38
11
test/MC/Disassembler/ARM/invalid-LDC-form-arm.txt
Normal file
11
test/MC/Disassembler/ARM/invalid-LDC-form-arm.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep {invalid instruction encoding}
|
||||
|
||||
# Opcode=0 Name=PHI Format=(42)
|
||||
# 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
# | 1: 1: 0: 1| 1: 1: 0: 0| 0: 0: 0: 1| 1: 1: 1: 1| 1: 0: 1: 1| 0: 1: 0: 0| 1: 0: 0: 1| 0: 0: 1: 0|
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
#
|
||||
# The bytes have 0b0000 for P,U,D,W; from A8.6.51, it is undefined.
|
||||
0x92 0xb4 0x1f 0xdc
|
||||
|
Loading…
Reference in New Issue
Block a user