About
Manual
Download
Register
Bug Report
Message Board



© MCMXCIX    
68000 Editor, Assembler and Simulator

68000 Sample Programs

Here are some of the program that I have made, and found for the M68000 Processor. To download them, hold down shift and click on the file that you would like to download.

If you have any program that you have made for the M68000, and your willing to put them on this page, then please email them to me at 68k-samples@xrmx.com.

Download File Name Description
68sample.x68 Program which adds 3 numbers together and subtracts another.
Addind.x68 Write the byte value $aa to locations $2000 to $3000
addind2.x68 Write the byte value $BF to locations $2800 to $28FF
Addmany.x68 Add the contents of Word locations $2000, $2002, $2004, $2006 and Stores the result in word locations $200A.
Ass02.x68 This program will write the byte 88 decimal into D1, add the contents of byte location 2000 hex to it, subtract the byte 18 decimal and write the result into D2 as a byte.
Ass04.x68 This program will copy the byte contents of locations 2000, 2001, 2002 and 2003 hex into byte locations 2001, 2002, 2003 and 2000 hex without losing any data.
Echo.x68 This program echoes characters entered from the keyboard
Getage.x68 Program which illustrates use of TRAPS on the 60K simulator, Prompts user for his/her age and rewrite this to the screen for the user's edification
Hideout.x68 Program which outputs when run my name and address to the screen
Loop1.x68 This program Multiples Num1 (2) by Num2 (6) Which will give the result 12 in D0
Loop3.x68 Loops
Loop4.x68 Loops
Moniker.x68 This will prompt for surname and firstname, and check if its uppercase. If it is it prints Initial + surname else it repromts. This program will only exit when nothing is entered in the surname or firstname.
Password.x68 This program will prompt the user to enter a password. Once entered the string must be checked against a known valid Password 'PLANKTON' is there is a match then a welcome screen is displayed else, the user must re-type it.
Prog1.x68 This program will add the number 4321 hex to the word location at 2000 hex and save the result in word location 2010 hex.
Prog2.x68 This program will add the contents of word address 2020 hex and 2030 hex together, and add the number 1234 hex to the result, and put the result in word location 2040 hex
Test.x68 Test program, using trap calls
Total.x68 This program will prompt you for 2 assignments and your exam mark. The program then outputs the sum of these marks like this 'Sum = 78'
Updat454e.X68 Program that reads in a text string, uppercases it and prints it out backwards
Update.x68 Puts $00 in byte location $1900, $01 in location $1901 etc.
Updatteste.x68 Write the byte value $BF to locations $2800 to $28FF
Words.x68 This program accepts an english sentence typed in after the Prompt. Works out how many words the sentence contains And outputs the sentence : "The Number of words in this sentence is xx"