Questions tagged [easy68k]

`EASy68K` is a 68000 Structured Assembly Language `IDE`. `EASy68K` allows you to edit, assemble and run 68000 programs on a Windows PC or Wine. No additional hardware is required. `EASy68K` is an open source project distributed under the GNU general public use license.

EASy68K is a 68000 Structured Assembly Language IDE. EASy68K allows you to edit, assemble and run 68000 programs on a Windows PC or Wine. No additional hardware is required. EASy68K is an open source project distributed under the GNU general public use license.

85 questions
0
votes
1 answer

EASy68K Assembly - first program errors

I'm new to assembly language, so I'm having a little trouble with my first program. I am supposed to basically recreate the following code, except in assembly language obviously. Can anyone help me fix the errors and help me get my program to work…
Bryan
  • 2,951
  • 11
  • 59
  • 101
-1
votes
1 answer

How to display out the letters in 'banner' format using easy68K editor/assembler?

Basically, I need to use this data statement and when I enter A then an 'A'letter in 'banner' format will be display on the screen. And I need to use 2 nested for loop to do that. Also, the data statement under str cannot be changed,eg dc.b ' # …
duzi
  • 1
-1
votes
2 answers

Is there a way to write single instruction for fractional multiplication?

I am trying to write a single 68000 instruction to multiply the 32-bit unsigned value in D0 by 0.125. Yet fractional multiplication is not available. So I am wondering if there is any way to go around it? It's supposed to be unsigned and 0.125 =…
user12061175
-1
votes
1 answer

68k - Shortcuts to reorder instructions and reduce clock cycles?

I've learned that reordering instructions can help save clock cycles and avoid Data Hazards. However, I'm finding it difficult to understand exactly how we can reorder these instructions. The best way I've found so far is by putting them in a table…
Ryan Russell
  • 739
  • 1
  • 8
  • 21
-1
votes
2 answers

68K Assembly Math Formula

I need to write some Lines in 68k Assembly Language with the math formula: x^2-5x+6 I want to do it with ADD and SUB commands and MOVE yet somehow I cant define the variable x it says its an undefined Symbol and I cant actually realize where my…
HaskellPlease
  • 277
  • 2
  • 10
-1
votes
1 answer

Assembly Programming - beginner

I'm new to assembly language. Can someone just explain to me what the following code segment does? Thanks a lot for any help. MOVE.B #20,D0 MOVEA.L #$1000,A0 CLR.B D1 Again CMP.B (A0)+,D2 BNE NEXT …
Bryan
  • 2,951
  • 11
  • 59
  • 101
-2
votes
2 answers

How do I do the BSR SUBR, and define the SUBR part of the code?

Question The program is supposed to do the following: Add up the first 6 data items ($1 to $6) stored at address label DATA. Store the sum of the first 6 data items to address label SUM1. Multiply the sum stored at address label SUM1 by 8, and…
thxr
  • 1
  • 1
-2
votes
1 answer

How to create a random number in range from 65 to 74 using easy68k?

I am doing my assignment and get stuck at this problem. Please help me. I just can create a random number from 0 to 74 .
-3
votes
1 answer

Adding in EASy86K

I have to do a homework assignment in which the program will receive 2 numbers from the keyboard and add and multiply them, but I don’t know how. So far, I've done this: ORG $1000 START: LEA INPUT, A1 MOVE.B #14, D0 …
mr99
  • 1
  • 2
-3
votes
1 answer

Write a program to clear bits 7 and 6, set bits 5 and 4, and toggle bits, 3, 2, 1, and 0?

A byte in memory at address $9000. Write a program to clear bits 7 and 6, set bits 5 and 4, and toggle bits 3, 2, 1, and 0. This is what I have, and it does not work. ORG $9000 MOVE.B #00, D0 MOVE #7, D1 …
user2188946
  • 35
  • 1
  • 1
  • 4
1 2 3 4 5
6