First page Back Continue Last page Overview Graphics

2’s Complement


Notes:

This slide displays the graphical user interface (GUI) to the integrated development environment (IDE) included on the CDROM in the back of the textbook by Pack and Barret. The IDE is similar but not identical to the one from COSMIC tools that we use in the lab. The most important feature from the standpoint of this class is that it contains a simulator, which allows you to test code without need of a 68HC12 microprocessor.

There are many minor differences between using this IDE and the one in the lab, but the only crucial ones are that you need to know in order to get started are that
1) you, personally, must set the program counter to the beginning of your program code before attempting to run or step through the code, and
2) this IDE does not support the use of relocatable code, hence you do not need a linker command file and do not need to name the code and data segments.

It is recommeded that you install this software on your home computer if you use the Windows operating system. In the course of your engineering career, you will likely use a large variety of software, including different IDE's for the same chip. The convenience of being able to write and test code and thereby test your understanding of concepts should outweigh the inconvenience of dealing with an alternate IDE, and the flexibility you learn will be useful to you later.