You are on page 1of 5

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER

BENM 2123 MICROPROCESSOR TECHNOLOGY

PRE-LAB (M68K Microprocessor)

Computer Engineering Department, FKEKK (2012)

1.0

Design Entry
Create a New File (2 options) i. ii. iii. OR i. ii. iii. Click START All Programs Accessories Notepad Assembly language program/code can be written in Notepad and a program created can be opened also from Notepad. Save the source code file as . .asm in E:\ Open the software Easy68K (assembler) by clicking the shortcut Easy68K on desktop or open through in program menu. Assembly language program/code can be written in this Easy68K window as shown in Figure 1. Save the source code file as . .asm in E:\

Figure 1

2.0

Assembling A source file/code


i. ii. iii. Open source file/code in EASy68K Editor/Assembler. Click in Assemble Source in Project menu. A window will appeared as shown in Figure 2. Then, click the Execute button.

Figure 2 3.0 Download 3.1 Setting the Hyper Terminal i. ii. iii. Switch ON the 68K Training Kit. Click START All Programs Accessories Communications HyperTerminal. In the New Connection dialog, type 68k inside the textbox Name as shown in Figure 3. Click OK to continue.

Figure 3: Hyper Terminal New Connection Dialog

iv.

In the Connect To dialog shown in Figure 4, select COM1 in the Connect using drop list, then click OK to continue.

Figure 4: Connect To Setting v. Then change the Bits per second setting to 9600, in the Setting Dialog. Click OK to continue.

Figure 4: Com Port Setting vi. vii. Turn ON the power of 68K Training Kit. Press the RESET button on your Training Kit, and then press Space Bar on your keyboard. You will get Figure 5 at this point.

Figure 5: Hyper terminal when connected

3.2

Downloading the Binary File i. Press Space bar or ENTER as shown in Figure 6.

Space bar Space bar Space bar Enter Enter Enter Figure 6: Offset menu ii. iii. 3.3 Now, at the Hyper Terminal window, Click Transfer Send Text File. Double click the Lab1a.S68 file. You will get Done! message to tell that the download process is successful.

Running the Training Kit i. ii. Turn on the Application Board. Switch ON the modules need to be run. Press Space bar or ENTER as shown in figure 7
Space bar Space bar Space bar Space bar Enter Space bar

Figure 7: Execute Program menu iii. Press Enter and key in 80C00 at Addr> and Enter to execute the program.

You might also like