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

XNZVC Operation (Assembly Language Easy68K)

If = $025C3F90, XNZVC=00011, what’s the results in D0 and in CCR? MOVE.W #$8C,D0 What is the D0 and CCR? How do we add 90 to 8C technically
Chelsea Ip
  • 19
  • 5
0
votes
0 answers

Assembly - Convert user-entered string to hex equivalent

I'm working on a program in assembly (in Easy68K) that prompts a user to enter a memory address. The program then converts each of those ASCII chars into their hex equivalents. I can convert the hex just fine, but I'm running into a problem. If the…
Tyler M.
  • 115
  • 1
  • 1
  • 11
0
votes
1 answer

Easy68k. How can i use the index correctly in a loop?

ORG $400400 COUNT DC.B 4 NUM1 DC.B $4E,$57,$29,$5A,$3B NUM2 DC.B $31,$D4,$55,$E0,$9B ORG $400410 SUBRTN MOVE.B $400401,D0 LEA $400405,A0 LEA $400410,A1 LOOP ADDX -(A0),-(A1) DBRA D0,LOOP END $400410 So i have…
0
votes
0 answers

Easy68k. How to use addx on this program?

**ORG $400400 NUM1 DC.B $F0 NUM2 DC.B $80 SUM DS.B 1 ORG $400410 ADNUMS MOVE.B NUM1,D0 MOVE.B NUM2,D1 ADD.B D0,D1 MOVE.B D0,SUM END $400410 END START** I have this program ,and because the…
0
votes
1 answer

Easy68K 3 number find min,max

I'm new to the assembly world, and I want to find the max and min of 3 numbers with the assembly language using Easy68k but the program does not work and I can't find out why, any help would be appreciated. Here's the code ORG $1000 l1 …
0
votes
1 answer

Implementing while loop in 68k

Translate the following code into assembly language and display the final value of Y. (2 pts.) X = 1; Y = 2; WHILE(X <= 10 ){ IF((X%2) != 0) Y = Y * X; ELSE Y++; X++;} Output Y PLEASE LET ME KNOW IF…
mira
  • 11
  • 2
0
votes
0 answers

Reading from a txt file in 68k

I got stuck in a simple 68k program. Program needs to read from a txt file. In txt file are numbers, separated by space, and file ends with a dot (.) I need to enter a file name and read from it, count how many numbers are there and sum up all…
Filip F.
  • 166
  • 8
0
votes
1 answer

Subroutine to add a series of integers using easy68K

I have been struggling on this question for some time and need require some help. This question is based on the EASY68K simulator processor. Use the T121 Processor Instruction Set of the EASY68K simulator to answer the following questions. Rewrite…
Atrix370
  • 33
  • 7
0
votes
1 answer

Trying to make a binary search on an ordered array in Motorola 68k assembly

I am trying to find out how to make a binary search subroutine on an ORDERED array, using m68k. For Java, I would do int binSearch(int key, int &lo, int &hi) { if (hi < lo) return NOT_FOUND; //RETURN with V = 1 …
0
votes
2 answers

Assembly: Append content to label

I'm actually developing with asm one on Amiga (68k processor). I'm stuck with this issue: how to append values to a label? For example: Copperlist: DC.w $11 DC.w $ 12 Rts ... ; Some code Bar: DC.w $13 Now I want to to append bar…
Fabrizio Stellato
  • 1,727
  • 21
  • 52
0
votes
1 answer

Hamming Code EASy68k

I am having difficulty with this and am having no luck and would appreciate any help!! Thanks The Hamming code is a special technique for encoding and decoding information to enable error detection and correction. Richard Hamming published his work…
0
votes
2 answers

Editing my Easy68k (Assembly) Program to subtract instead of add

Ok, here it is guys. Before you, I have a program that performs this algorithm: "IF X > 12 THEN X = 2*X+4 ELSE X = X + Y, OUTPUT X." the problem is, I need it to perform this one instead: "IF X > 12 THEN X = 2*X+4 ELSE X = X - 13, OUTPUT X." How…
Greg
  • 1
  • 1
0
votes
2 answers

Test if two numbers are equal using Easy68K

I'm trying to create a program in Easy68K that is able to test if two numbers entered by the user are equal. I know roughly how to get the input from the user, and load it into a data register, and I think I need to use a while loop that will test…
Rob Dudley
  • 25
  • 8
0
votes
1 answer

Decision Structures in 68k assembly language

I want to write program that prompt the user for one character from the keyboard. For the character entered, classify the character as a number, a letter If user entered "*" then loop again for new value The problem is always show the result is…
nas2016
  • 15
  • 5
0
votes
1 answer

If else statement in 68k

I need to write program that the user enters an unsigned number and the display will indicate if this number is odd, even or equal to zero The problem I got is at any number it display Z in 7segment, which is not correct So, I do not where is the…
nas2016
  • 15
  • 5