Thread View: comp.sys.amiga.tech
2 messages
2 total messages
Started by Chris Hames [bytey]
Mon, 17 Dec 1990 03:11
addx/subx/movep/Metascope/A68k
Author: Chris Hames [bytey]
Date: Mon, 17 Dec 1990 03:11
Date: Mon, 17 Dec 1990 03:11
21 lines
1313 bytes
1313 bytes
Is it common knowledge that the addx/subx instructions don't set the
zero flag when the result is zero but clear it if the result is not zero?
Why didn't someone tell me!!!!!!!!!!!! hours hours hours debugging.....
Charlie Gibb-A68k2.42 movep.w 1(a0),d0 gives and alignment error when it is
valid instruction. Thanks for a nice assembler.
Is Metadigm still alive? Has there been an update of Metascope Debugger
since 1.17 ? Is there address still :-
19762 MacArthur Blvd
Suite 300
Irvine, CA 92715
Thanks in advance,
--
Chris Hames - C/Assembler programmer | Fish: DirWork,FSDirs,VMK..| /~\/ \
3:633/353 (Fido) | Commercial: Soon... | ( OZ )
mail bytey@phoenix.pub.uu.oz.au +---------------------------+ `--'\_/
mail uunet.uu.net!phoenix.pub.uu.oz.au!bytey (If header doesn't work!) o
Re: addx/subx/movep/Metascope/A68k
Author: Checkpoint Technologies
Date: Tue, 18 Dec 1990 04:20
Date: Tue, 18 Dec 1990 04:20
18 lines
1613 bytes
1613 bytes
In article <1990Dec17.031120.3658@phoenix.pub.uu.oz.au> bytey@phoenix.pub.uu.oz.au (Chris Hames [bytey]) writes:
> Is it common knowledge that the addx/subx instructions don't set the
>zero flag when the result is zero but clear it if the result is not zero?
>Why didn't someone tell me!!!!!!!!!!!! hours hours hours debugging.....
This may come under the heading of "obscure feature" - but yes, it's
always been that way. It lets you find the total zerosity (??) of the
result of a long multi-precision add/sub. You set Z before starting,
and if any intermediate instr gives a non-zero it's cleared. This way if
all the intermediate results are zero, Z remains set at the end,
otherwise Z is cleared.
Did we need this feature? Ah, that's another topic... :-)
--
First comes the logo: C H E C K P O I N T T E C H N O L O G I E S / /
\\ / /
Then, the disclaimer: All expressed opinions are, indeed, opinions. \ / o
Now for the witty part: I'm pink, therefore, I'm spam! \/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads