### Author Topic: Analogue Clock Using Irvine32.inc  (Read 4653 times)

#### hamza7292

• Regular Member
• Posts: 1
##### Analogue Clock Using Irvine32.inc
« on: December 23, 2016, 04:33:18 AM »
Hello everyone
New member here. I am a bit new to assembly and in 3rd semester of my Computer Science Major. This semester we are taking the Computer Organization and Assembly Language. We are nearing the end semester and still have not been introduced with the .model directive. We have been assigned End Semester Project to build an analogue clock using MASM615(Which I am using right now) or Visual Studio (in groups of 2 or 3), a snake game or any other arcade game. I started off with the Analogue Clock but am stuck just in the start as we have no knowledge of using neither graphics nor trigonometry. I shall like to request the members to kindly guide me in the project.
Thanks a lot.

#### jj2007

• Member
• Posts: 13342
• Assembly is fun ;-)
##### Re: Analogue Clock Using Irvine32.inc
« Reply #1 on: December 23, 2016, 04:58:22 AM »
Hello hamza,

"Using Irvine32.inc" is not the best option, it's a strange library, and most members here use Masm32. Try to convince your teacher ... unless it's Kip Irvine himself, of course :icon_mrgreen:

Re analogue clock, feasible but the trigonometrics you will have to do yourself. No spoonfeeding here ;-)

Post what you have achieved so far.

#### raymond

• Member
• Posts: 310
##### Re: Analogue Clock Using Irvine32.inc
« Reply #2 on: December 23, 2016, 12:08:27 PM »
If you must use trigonometric functions for your project, it means using the FPU. I would strongly recommend studying the following before you start. If you have any need in the future for floating point computations, regardless of the computing language you use, that knowledge will definitely serve you.

http://www.ray.masmcode.com/fpu.html
Whenever you assume something, you risk being wrong half the time.
http://www.ray.masmcode.com/