It is currently Sat Feb 23, 2019 3:48 am

 All times are UTC

 Page 1 of 1 [ 8 posts ]
 Print view Previous topic | Next topic
Author Message

Joined: Wed Sep 10, 2008 2:35 pm
Posts: 4
Location: Malaysia
i am from malaysia,taking bachelor degree in electrical engineering at MARA technology university and taking microprocessor subject..

i am now tying to complete my project about simple calculator..
the project description that given to me is...

"Design a system that can perform an operation of a calculator that can perform addition, subtraction and multiply of selected numbers. The system will randomly display the numbers, arithmetic operators and te results of the arithmetic operations...
the input = a switch to select number and arithmatic operation.
the output = LCD to display numbers, arithmetic operators and result"

i have to design and interface a circuit to the 68000 trainer.
my question is...

1. How to design the program that satisfy the description above?i tried so many times.I've only completed the subroutines for add,subtract and multify but still i dont know how to design the instruction for the switch and display instruction on the LCD.
2. How to design the circuit and interface it to the 68000 trainer?

Top

 Post subject: Posted: Wed Sep 10, 2008 4:39 pm

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1089

P.S.
Please do not post the same question in more than one place.

_________________
Prof. Kelly

Top

 Post subject: Posted: Thu Sep 11, 2008 5:42 pm

Joined: Wed Sep 10, 2008 2:35 pm
Posts: 4
Location: Malaysia
i'm sorry professor kelly...i will not post the same topic more than 1 place again..

my professor suggest me to use the VTES trainer or ABLELOGIC trainer..i really dont know how to design the program..
when i do the Multiply instruction,it will display hexadecimal number..
how to convert this number or display it in decimal?

and about the switch,how to design the instruction for the input to the trainer?
my idea is,when we press the switch(push button switch),it will display 0 at the LCD,when we push it again it will display 1 and so on until number 9..and the operator would be the same..one push it wll display +,another push will display - and x...
can i use loop?is there any idea to solve my problem?how many switch i must use?any example for this?

and how to display these number to the LCD?my lecturer has mentioned that different LCD has different address..would you give me an example program?

please proffesor kelly..give me an example how to write the instruction for the input and the output display..thank you...

Top

 Post subject: my project..Posted: Fri Oct 17, 2008 2:04 pm

Joined: Wed Sep 10, 2008 2:35 pm
Posts: 4
Location: Malaysia
i have done my project using easy68k..
where i can share it?

Top

 Post subject: Re: my project..Posted: Sat Oct 18, 2008 4:27 pm

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1089
zahirmd wrote:
i have done my project using easy68k..
where i can share it?

email your program to me and I will add it to the examples page. Or you may publish it on your own and provide a link to it in the forum.

_________________
Prof. Kelly

Top

 Post subject: Posted: Tue Oct 21, 2008 5:24 am

Joined: Wed Sep 10, 2008 2:35 pm
Posts: 4
Location: Malaysia
can i have ur email prof?

Top

 Post subject: Posted: Fri Oct 24, 2008 11:45 am

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1089
my email is ckelly@monroeccc.edu

_________________
Prof. Kelly

Top

 Post subject: Posted: Wed Nov 26, 2008 7:36 am

Joined: Wed Nov 26, 2008 6:42 am
Posts: 1
Location: san diego
zahirmd wrote:
can i have ur email prof?

can u send me a copy of ur program Ripinxnxridin@yahoo.com

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 8 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: No registered users and 1 guest

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ EASy68K Forum    FAQ    Latest Features    EASy68K Questions    68000 Programming Questions    Wish List    Wishes Granted    Undocumented Features    Documented Features    General Discussion    EASy68K Projects