bsee08's Avatar
bsee08 4
32 Asked
47 Answered
11 Best
0
No one has voted on this question yet :(
2 years, 1 month ago

In 68000 assembly code, what is the proper way to compare 2 plus symbols?

In the code below, register D0 may or may not contain a plus sign. My code attempts to move a + sign into D3 so I can compare it to D0, but it doesn't work. What is the proper way to format it so it does work?

MOVE.B '+',D3
CMP.B D3,D0
BEQ ACTION1
ACTION1 ADD.B D2,D1
Tip for best answer: M$0.10
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates