Commit Graph

15 Commits

Author SHA1 Message Date
Erik Hemming a8559cfb78 Fix a couple of corner-cases with rarely used m68k instructions. (#1344)
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s

* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)

* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list

* update bindings to match changes to cs_insn and cs_detail
2019-01-21 16:55:05 +08:00
Nguyen Anh Quynh 2fc852dcbd fix warnings on const char * discards qualifiers 2018-07-24 01:41:59 +08:00
Nguyen Anh Quynh bf2690afca Merge pull request #696 from emoon/m68k-reg-read-write
[M68K] Implemented regs read/write lists
2016-08-11 11:22:48 +08:00
Daniel Collin aaf2c49015 [M68K] Implemented regs read/write lists 2016-08-09 17:29:36 +02:00
Niels Boehm 7d4c660959 Fix typo in m68k constant for immediate operand. 2016-06-15 08:25:59 +02:00
Nguyen Anh Quynh 84c14d177b fix merging conflict 2016-05-22 08:58:33 +08:00
Inokentiy Babushkin 53b8174c6a Further refinements to the tests + python test fix for M68K 2016-05-13 18:39:32 +02:00
Inokentiy Babushkin fc4488b68e Reduced confusion caused by the m68k test being out of date
* added a new case branch to account for floating point operands.
2016-05-13 09:08:36 +02:00
tandasat c45f1db564 Merge remote-tracking branch 'upstream/next' into next 2016-05-11 22:52:34 -07:00
tandasat 45e5eab646 port Windows driver support 2016-05-11 21:48:32 -07:00
Daniel Collin 988bb63113 [M68K] Added basic groups
Added support for basic groups in the M68K backend. Also did some minor cleanups/whitespace fixes while at it.

Relates to this issue https://github.com/aquynh/capstone/issues/494
2016-04-10 10:55:21 +02:00
Nicolas PLANEL fa1ad4ca9d [tests] test_m68k.c fixup some minors output glitch
Minors glitch fixup and/or output consmetics.
2015-10-06 16:10:22 +11:00
Nguyen Anh Quynh b16658d39e m68k: add M68K code to test_basic.c & test_detail.c 2015-10-04 15:05:26 +08:00
Daniel Collin cd206ff508 Made test_m68k a bit more verbose 2015-10-03 09:58:27 +02:00
Daniel Collin 2ee675c10a This adds M68K support to Capstone 2015-10-02 20:47:00 +02:00