Questions tagged [68000]

The 68000 is a 16/32 bit CISC CPU, originally designed by Motorola, Inc.

The 68000 is a 16/32 bit CISC CPU, originally designed by Motorola, Inc.

After its introduction in 1979, it rapidly became popular among the system designers of its time. In its heyday, the 68000 was used in computers from Hewlett-Packard, Apollo/Domain, Sun Microsystems, Commodore (Amiga), Atari (ST), and Apple, among others.

Today, the 68000 and its derivatives are primarily used in embedded systems.

232 questions
0
votes
1 answer

Memory accessing in assembly language

I want to access a particular memory location of an array. the condition that i have is somewhat like this Let us say the array is arr[] have 100 elements and i want to access the 10th elements. so for that i want to move to the 10th memory…
0
votes
1 answer

68000 - What do the values in the US and SS signify? (Stacks)

Currently the value in US is "00FF0000" and the value in SS is "01000000". Are these where the pointers are? Or are they what is stored? Im a bit confused.
user4188409
  • 77
  • 2
  • 8
0
votes
2 answers

how does indirect addressing work in assembly language motorola 68k

I have this code: loop2 move.b (a4)+,d3 * moving the morse code array input to d3 muls #5,d3 add.b $d3(a6),d3 * moving the character in morse code array to d4 move.b d3,d4 cmp.b #dot,d4 Here,…
0
votes
3 answers

68000 - How to I check if value in data register is odd using ANDI?

This is my code i have: I want to see whether the value in D1 is odd. If so i want to perform some operation. Can someone help me with this? It would be nice if somone could show me an example of how to use it.
user4188409
  • 77
  • 2
  • 8
0
votes
2 answers

68000 assembly - Why does the 68000 ISA include both signed and unsigned branches?

I had this question on my exam yesterday and it is still puzzling me. Could someone please explain to me why the 68000 isa include both singed and unsigned branches.
user4148082
0
votes
2 answers

68000 Assembly Language - How to know wether an address is an absoulute long or short operand

For example: MOVE.W $1234,$8000 Could someone tell me what the source is using ( Long or short ) and what the destination is using (Long or short). Can you explain how to found this out. Thanks.
user4148082
0
votes
1 answer

68000 Assembly Language - CMPI.B

What are the contents of the CCR and D3 after the following instructions sequence executes? Perform the calculation by hand and show your work. MOVE.B #7,D3 CMPI.B #11,D3 I know the contents of the D3 register will remain unchanged by i am…
user4148082
0
votes
1 answer

68000 - TRAP 14 on 68000 and TRAP 15 on EASy68K

Are these the same? Is TRAP 15 on the EASy68K the same as TRAP 14 on the 68000 board. Ive tried looking for this answer and am under the notion that it is right but i would like to make sure. Could somone please confirm this?
user4148082
0
votes
2 answers

68000 Assembly Language - MOVE instrunction

What is the difference between MOVE 1234,D5 and MOVE #1234,D5? Ive tried to look online, but cant see to find what the first instruction is doing.
user4092586
0
votes
1 answer

How can i read 10 bytes from memory to add each consecutive 2 bytes

I have stored the string '0123456789', so now the ASCII value of each character is stored as one byte in the memory, How can add each consecutive 2 bytes like the following: 0+1->1, 1+2->2........etc “0123456789” 30 31 32 33 34 35 36 37 38 39…
Thair Abdalla
  • 279
  • 1
  • 5
  • 16
0
votes
1 answer

Access odd indexes of a byte array causes address error

I have an array of bytes in my code and i have to access random elements of this array. Address of array is loaded in A4 and the index is calculated and stored in D2. I need to read one element (one byte) from this array in index of D2 and add it to…
Mohammad Jafar Mashhadi
  • 4,102
  • 3
  • 29
  • 49
0
votes
1 answer

Can somebody provide a pseudocode for writing a Fibonacci code in Assembly language? This involves stacks?

I'm using M68000 chips so pseudocode is fine. I can easily write this program but I am having trouble implementing the use of stack (push, call, pop) to this algorithm, I been here for hours and still couldn't find a way. Please someone provide a…
xpluffy
  • 79
  • 1
  • 2
  • 9
0
votes
1 answer

Mergesort for easy68k

has anybody done a merge sort in m68k? Thanks. John
John
  • 9
  • 1
0
votes
1 answer

need to know how to use the decimal number not the hex

i am trying to learn assemly lang. This is the first program i am trying to run. the problem i am having is that arr is being loaded and instisd it loads the 1,2 right but then it loads the 12 as a c. then when i add it it addes the letter + the…
user2615302
  • 194
  • 2
  • 14
0
votes
1 answer

How to program my own test code

I don't know what the expression is in english, but what I mean is that code you use to make sure the code is correct, every possible case works, and the program is doing what it's supposed to (like, if I make code to operate with a matrix, I want…
keont
  • 653
  • 1
  • 9
  • 26