-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
type: support(I) Q&A about how to use Boomerang(I) Q&A about how to use Boomerang
Description
(I hope this is the right place to ask. I didn't find a community forum)
Hi,
I would like to use Boomerang on binaries for the Motorola 680x0 CPU series. I have already written a loader. That was the easy part. Now the decoder...
Some questions related to this:
- (Just in case, one can hope:) Has anybody already written a decoder or a SSL specification for M68K?
- For the lifting: It's not 100% clear to me what belongs in the SSL file and what belongs in the decoder class. Do I understand correctly that most of the semantic is defined in the SSL file and the code in the decoder just handles the cases that need extra care?
- M68K has an adressing mode where the base register is incremented after (resp. decremented before) the operation, for example "add d0, (a1)+". My plan is to handle this like a normal indirect address (e.g. "add d0, (a1)") in the SSL file and add the extra effect (increment register %a1) manually in the liftInstruction method. Correct?
- M68K has an instruction that can move multiple registers in one go, for example the instruction "movem d0/d2/d7, -(a1)" would move the three data registers d0, d2 and d7. Do I understand correctly that this cannot be expressed in SSL and should be manually implemented in the liftInstruction method of the decoder?
Thanks for any help and pointers (expect null pointers, haha)
Metadata
Metadata
Assignees
Labels
type: support(I) Q&A about how to use Boomerang(I) Q&A about how to use Boomerang