GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    David JONES (drj@typo.social)'s status on Thursday, 02-Nov-2023 09:29:36 JST David JONES David JONES

    Welcome to #MOVember, one asm MOV instruction each day.

    The Motorola MC68000 has a BEAST of a MOV instruction.
    Official assembler mnemonic: MOVE. Refreshingly clear!

    You could move to and from registers and/or memory. 8-, 16-, 32- data sizes. Post increment, predecrement. Including memory-to-memory moves (*Ferris Bueller soundtrack voice*: Oh Yeah).

    `*d++ = *s++` is a single instruction in 68000.

    Officially destination on the right: MOVE A7,D0 copies the A7 register to D0

    Please 🔁

    #68k

    In conversation Thursday, 02-Nov-2023 09:29:36 JST from typo.social permalink

    Attachments


    1. https://typo.social/system/media_attachments/files/111/334/864/202/835/918/original/5acaa912f62e24a5.png
    • Embed this notice
      clacke (clacke@libranet.de)'s status on Thursday, 02-Nov-2023 09:29:32 JST clacke clacke
      in reply to
      • Tim Ward ⭐🇪🇺🔶 #FBPE
      • F4GRX Sébastien
      > In this IBM article from 2005, it is covered how the Motorola m68k, MIPS and PowerPC CPUs of that era handled unaligned access. The interesting thing to note here is that until the 68020, unaligned access would always throw a bus error. MIPS CPUs didn’t bother with unaligned access in the name of speed, and PowerPC took a hybrid approach, with 32-bit unaligned access allowed, but 64-bit (floating point) unaligned access resulting a bus error.


      hackaday.com/2022/05/10/data-a…

      @TimWardCam @f4grx @drj

      In conversation Thursday, 02-Nov-2023 09:29:32 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: hackaday.com
        Data Alignment Across Architectures: The Good, The Bad And The Ugly
        from Maya Posch
        Even though a computer’s memory map looks pretty smooth and very much byte-addressable at first glance, the same memory on a hardware level is a lot more bumpy. An essential term a developer …
    • Embed this notice
      Tim Ward ⭐🇪🇺🔶 #FBPE (timwardcam@c.im)'s status on Thursday, 02-Nov-2023 09:29:33 JST Tim Ward ⭐🇪🇺🔶  #FBPE Tim Ward ⭐🇪🇺🔶 #FBPE
      in reply to
      • F4GRX Sébastien

      @f4grx @drj It was then, but I have a vague feeling that the 68010 or 20 allowed odd addresses. At a performance cost.

      In conversation Thursday, 02-Nov-2023 09:29:33 JST permalink
      Haelwenn /элвэн/ :triskell: repeated this.
    • Embed this notice
      F4GRX Sébastien (f4grx@chaos.social)'s status on Thursday, 02-Nov-2023 09:29:34 JST F4GRX Sébastien F4GRX Sébastien
      in reply to
      • Tim Ward ⭐🇪🇺🔶 #FBPE

      @TimWardCam @drj I am not sure any 68k supports unaligned word acesses. that is probably an address error exception.

      In conversation Thursday, 02-Nov-2023 09:29:34 JST permalink
    • Embed this notice
      Tim Ward ⭐🇪🇺🔶 #FBPE (timwardcam@c.im)'s status on Thursday, 02-Nov-2023 09:29:35 JST Tim Ward ⭐🇪🇺🔶  #FBPE Tim Ward ⭐🇪🇺🔶 #FBPE
      in reply to

      @drj It's an awful long time ago that I wrote any 68000 assembler - this was during the development of the QL which actually used a 68008.

      One booby trap I seem to recall was to do with moving more than one byte at a time via an A register used as a pointer and containing an odd number. Didn't work at all, but I have a vague feeling that this got "fixed" (at the cost of additional bus cycles) in later processors?

      In conversation Thursday, 02-Nov-2023 09:29:35 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.