Re:Crash course to Amiga assembly programming
by ksherlock on Thursday May 11, 2017 @10:54AM
(#14316427)
Let's assume the x86 octal layout is the pinnacle of enlightenment and the 68k instructions were assigned by rolling a 65536-sided die. So what? I don't write my assembly using DIP switches, I write my assembly using mnemonics.
Re:Crash course to Amiga assembly programming
by wolfgke on Thursday May 11, 2017 @03:55PM
(#14318977)
> I don't write my assembly using DIP switches, I write my assembly using mnemonics.
In other words: Not the x86 instruction set is bad, but the common assembly language(s) (there is Intel and AT&T syntax) that are used to describe it.
Re:Crash course to Amiga assembly programming
by kazinator on Thursday May 11, 2017 @10:57AM
(#14316455)
I wrote an emulator for M68K nearly 25 years ago. I wrote a generator to produce the opcode dispatch table. It used regular expressions on bits (textual strings of 1's and 0's) to condense the generator's specification; I remember it being quite condensable that way.
Re:Crash course to Amiga assembly programming
by pubby on Thursday May 11, 2017 @08:44AM
(#14315571)
I don't see how this is relevant to anything at all.
>there's no common pattern among all the ALU ops, for example, and there seems to be plenty of undefined/unused gaps:
Presumably there is a pattern and that is why the gaps exist.
http://i.imgur.com/xfeWv.png
68k and a lot of the other Motorola CPU's opcode layout looks far less organised to me; there's no common pattern among all the ALU ops, for example, and there seems to be plenty of undefined/unused gaps:
http://goldencrystal.free.fr/M68kOpcodes-v2.3.pdf