M68000: Decompiler (sbcd instruction)
See original GitHub issueDecompiler does not understand sbcd
instruction:
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
The 68000's Instruction Set
The ABCD instruction is used in chain arithmetic to add together strings of BCD digits. Consider the addition of two nine-digit numbers.
Read more >Motorola M68000 FAMILY Programmer's Reference Manual
This manual contains detailed information about software instructions used by the microprocessors and coprocessors in the M68000 family, including: MC68000.
Read more >SAMS_68000_68010_68020_Pr...
The 68000 Instruction Summary Table - Preliminaries 310. E M68000 Resources ... code (traditionally, one blames the computer) and decompiling your own stuff....
Read more >Emulation & Decompilation: Time Keeping - Reassembler
The 68k code uses the bcs (branch if carry set) instruction to test if the sbcd instruction has caused a carry by subtracting...
Read more >A 68000 Disassembler - Jeff Tranter's Blog
This is more challenging than for 8-bit processors due to it's complex instruction set and many addressing modes. I decided to again use...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
These may not be exactly right, but will get past issues with the unimplemented instructions. Feel free to improve. If they are acceptable in this form, then they’ll be in the next release. In writing semantics the most important thing is to get the inputs and affected registers and memory for data flow. These semantics could be too complicated for the needed use in understanding the code. Many instructions will never have the full semantics, such as sin().
P.S. That’s alot of red bookmarks in your code browser. Hopefully this will fix some of them.
Hmmm. Thought these made it in. Will check on it.