diff options
| author | Guillaume Valadon <guillaume@valadon.net> | 2018-06-15 12:10:10 +0200 |
|---|---|---|
| committer | Guillaume Valadon <guillaume@valadon.net> | 2018-07-12 22:50:51 +0200 |
| commit | b8e5038798b0dece628846acb5ad25d9d4e60395 (patch) | |
| tree | 932dd2676afcf0c4ba6bf0c57d3b574954461ad2 /test/arch/mep/ir/test_datacache.py | |
| parent | 82eb5f6eb197fc59d2e9ae21cfda05a1868e462e (diff) | |
| download | miasm-b8e5038798b0dece628846acb5ad25d9d4e60395.tar.gz miasm-b8e5038798b0dece628846acb5ad25d9d4e60395.zip | |
Toshiba MeP support
Diffstat (limited to 'test/arch/mep/ir/test_datacache.py')
| -rw-r--r-- | test/arch/mep/ir/test_datacache.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/arch/mep/ir/test_datacache.py b/test/arch/mep/ir/test_datacache.py new file mode 100644 index 00000000..a462315d --- /dev/null +++ b/test/arch/mep/ir/test_datacache.py @@ -0,0 +1,13 @@ +# Toshiba MeP-c4 - Data cache instructions unit tests +# Guillaume Valadon <guillaume@valadon.net> + +from ut_helpers_ir import exec_instruction + + +class TestDataCache: + + def test_cache(self): + """Test CACHE execution""" + + # CACHE imm4, (Rm) + exec_instruction("CACHE 0x0, (R0)", [], []) |