68000

What was the name of the Mac (68000) assembler?

I'm sure there were several, but the one I was thinking of would display a nice text screen when you crashed the computer thoroughly. The Text was "Well smoke me a kipper." ...

How can I segment my Palm OS 68K application?

If you have an 68K application written using CodeWarrior for Palm OS, how do you assign individual functions to different segments without manually moving files around in the segment tab in the IDE? ...

sorting number using easy68k

how to sort number in descending order by using easy68k? ...

Programming Environment for a Motorola 68000 in Linux

Greetings all, I am taking a Structure and Application of Microcomputers course this semester and we're programming with the Motorola 68000 series CPU/board. The course syllabus suggests running something like Easy68K or Teesside Motorola 68000 Assembler/Emulator at home to test our programs. I told my prof I run x64 Linux and asked wh...

Where can I find assembler instruction specification info for the Motorola 68000?

I'm looking for information for machine language instruction encoding formats for the Motorola 68000 processor. I have used the The Motorola Mc68000 Microprocessor Family: Assembly Language, Interface Design, and System Design book for this before, but I no longer own a copy of the book. Does anyone know where I can find this informati...

Writing an OS for Motorola 68K processor. Can I emulate it? And can I test-drive OS development?

Next term, I'll need to write a basic operating system for Motorola 68K processor as part of a course lab material. Is there a Linux emulator of a basic hardware setup with that processor? So my partners and I can debug quicker on our computers instead of physically restarting the board and stuff. Is it possible to apply test-driven d...

How do you Echo Data?

Is there a way to echo DATA in 6800 assembly? If I have it stored like this: DATA DC.W 1,2,3,9,8,7 ...

Left Shift Overflow on 68k/x86?

I heard that the Motorola 68000 and Intel x86 architectures handle overflow from left shifting differently. Specifically the 68k LSL vs. the Intel SAL/SHL assembly instructions. Does anyone know the specifics of this? Do they set different flags, or set them differently? I tried to look this up in the reference manuals, but I don't see ...

Limit user input through Text I/O (68k Assembly)

I'm writing a program in Assembly (68k) and I'm using Easy68k. I am trying to prompt a user to input a string of characters. However, I must limit the amount of characters accepted. I was told I could do that using task #5, through text I/O, but I could really use an example Thanks! ...

Mergesort for easy68k

Hi everybody, has anybody done a merge sort in m68k? Thanks. John ...

Passing parameters on the stack

When you pass parameters to a function on the cpu stack, You put the parameters on then JSR puts the return address on the stack. So that means in your function you must take the top item of the stack (the return address) before you can take the others off) eg is the following the correct way to go about it: ... |Let’s do some additio...

What is on the 68000 stack when classic MacOS enters a program?

I'm trying to understand an old classic Mac application's entry point. I've disassembled the first CODE resource (not CODE#0, which is the jump table). The code refers to some variables off the stack: a word at 0004(A7), an array of long words of starting at 000C(A7) whose length is the value at 0004(A7), and a final long word beyond tha...

Assembly 6800 Looping? Testing specific bits in a word.

Hi all, Trying to help a friend out with a friend out with some assembly code, but I've run into a small problem. I'm trying to work out how I would loop through a 8 bit binary word and check the value of specific bits. I need to check bits 1, 3, 5 & 7 to see if they are 1. i.e. int count = 1; int bitAdd = 0; foreach (var bit in wo...

Do different 68k simulators have different TRAP tasks?

I've been revisiting Motorola 68000 programming lately. Admittedly, when I took the course I just did what was necessary to pass (and had a horrible professor)...but NOW I'm actually interested in the stuff. Anyway, looking through my old textbook The 68000 Microprocessor by James L. Antonakos, he uses the following code: ORG ...

How do you store a decimal number with a fraction?

if I want to store 10.125 how is it done? I have this: ORG $1000 DN DC.L 10.125 END $400 and in the debug it is stored as: 00001000= 0000000A That doesnt seem to be getting the fraction part in there. This is assembly 68k. ...