Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

68k register addresses

This question is begging for a bunch of "why are you doing this?" responses.

I haven't been able to find this information in the 68k Programmer's Reference Manual, but that may be because I'm not sure of what verbiage to search for.

Here is the instruction format for the 68k's ADD opcode.

enter image description here

Bits 0-2 and 9-11 designate registers. What are the binary representations of the 68k's registers? Are they "addresses"?

Yes, I am aware that I can write a 68k assembly program and debug it to find this information. I'm looking for a reference. Thanks!

like image 632
mwcz Avatar asked Jun 09 '11 21:06

mwcz


People also ask

What is effective address in 68k?

Effective address (EA) is generated by adding a constant value to the content of an address register (the constant has 16 bits). e. g. ADD -$100(A4), D2; [[A4] - $100] + [D2] → D2. b) Full index mode.

What is the 68000 processor inherent?

The 68000 processor is characterized by a 16-bit external word length as the processor chip has 16 data pins for connection to the memory. However, data are manipulated inside the processor in registers that contain the 32 bits.

What do you mean by Motorola 68000 explain their mode of operation and addressing mode in brief?

In this mode, the operand is in memory. The address of the operand is the sum of the address in the program counter (PC) and the sign-extended 16-bit displacement integer in the extension word. The value in the PC is the address of the extension word.


1 Answers

See Sec. 2.1, "Instruction Format":

An instruction specifies the function to be performed with an operation code and defines the location of every operand. Instructions specify an operand location by register specification, the instruction’s register field holds the register’s number; by effective address, the instruction’s effective address field contains addressing mode information; or by implicit reference, the definition of the instruction implies the use of specific registers. (emphasis added)

like image 126
Jeremy W. Sherman Avatar answered Oct 01 '22 12:10

Jeremy W. Sherman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!