@thankfulmachine it's one of those useful little things that makes one realize that the #68k ISA was designed to make C compilers happy :blobcatcoffee:
Conversation
Notices
-
Embed this notice
Pixel Doge (aperezdc@oldbytes.space)'s status on Monday, 07-Aug-2023 18:21:06 JST Pixel Doge - Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice
Thankful Machine (thankfulmachine@oldbytes.space)'s status on Monday, 07-Aug-2023 18:21:08 JST Thankful Machine In love with the #68k "Address Register Indirect with Postincrement" addressing mode. Yes, I know we have every fancy thing imaginable today, but thinking about it in context, I think it's amazing.
.loop:
move.l (a0)+,(a1)+
dbra d0,.loopWhere d0 contains the number of longwords to copy. Address increment works with words and bytes as well? Love it! #assembly