EASy68K  
It is currently Tue May 26, 2020 1:30 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Urgent- Need Help!!!
PostPosted: Tue Sep 28, 2010 2:05 am 
Offline

Joined: Tue Sep 28, 2010 1:45 am
Posts: 1
Location: Malaysia
Hello i have question to ask......it very urgent and need help fast...
i was assign to make a simple microwave programming in 68k language...
because i'm new in this 68k language i not able to do this assignment...
the operation of this microwave are:

1.Timer start in the same time the motor will run.
2.After the timer end the motor will stop,then the buzzer and lamp will turn ON.
3.i need a 68k language plzz help ME !!!!! :cry: :cry: :cry: :cry:

the coding to on the Output.....
plzz help me combine the code plzzzz plzzzz plzzzz
the only coding i know is this to make the motor run clockwise or anticlockwise....

MOVE.B #$00,PGCR
MOVE.B #$80,PACR
MOVE.B #$FF,PADDR
MOVE.B #%00000011,PADR


IS5 MOVE.B #5,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1
IS8 MOVE.B #8,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

IS0 MOVE.B #0,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

COL3 BCLR.B #0,PBDR
BCLR.B #1,PBDR
BSET.B #2,PBDR
MOVE.B PBDR,D1
AND.B #$F0,D1
CMP.B #$10,D1
BEQ IS3
CMP.B #$20,D1
BEQ IS6
CMP.B #$40,D1
BEQ IS9
CMP.B #$80,D1
BEQ ISHASH
BNE COL1


IS3 MOVE.B #3,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

IS6 MOVE.B #6,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

IS9 MOVE.B #9,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

ISHASH MOVE.B #0,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

the thing is dont know how to combine the program between motor run+timer+lamp and buzzer turn on..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group