[Coco] Question on 6309 TFM command
Bill Nobel
b_nobel at hotmail.com
Sun Nov 13 21:57:16 EST 2016
Bill Nobel
b_nobel at hotmail.com<mailto:b_nobel at hotmail.com>
I do have to say though, that working with Roger Taylor I have learned a lot about hardware. The register increments on both sides of the tfm can happen simultaneously.
Curtis,
While I have used that opcode, I've not timed it. In fact, it would be very hard to time those specific opcodes without including all the other opcodes required to get the two of interest to run. That being said, I just ran a test that would seem to indicate that speed of TFM r0,r1+ and TFM r0+,r1+ are essentially the same.
Here are the programs for the test using my EDTASM6309 to create the assembly code and run on a Coco3. My program SWREAD creates a new string function DATE$ that reads the hardware clock.
TEST
10 PCLEAR1:LOADM"TFM"
20 PRINT DATE$:EXEC:PRINT DATE$
00100 ORG $E80
00110 * THIS IS A TEST OF THE TFM OPCODE
.
.
.
00210 RTS
00220 END START
Elapsed time the same as above, 7 seconds.
Does this answer your question? :)
Robert
--
Coco mailing list
Coco at maltedmedia.com<mailto:Coco at maltedmedia.com>
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list