Discussion in "General help Guidance and Discussion" started by    Arun Kumar V    Jul 1, 2008.
Tue Jul 01 2008, 03:36 pm
#1
Hello friends,

recently one of the friends from this forum asked me a favour to write a assembly code for his project, the project objective was to receive input on 4 port pins , decode and put the output on 2 ports for eg: if input on p2 is 0001 then p1.0 should become 1 so on. there are 16 states and only one output can be ON at a time.

i felt it was similar to 4line to 16 line decoder used in DTMF projects and thumbwheel projects and later came to know he intends to use this in his 4 bit RF Tx and Rx project.

here's the code with comments, i have used a optimised code approach and differed from the conventional CJNE approach ( this way the task is completed in less number of machine cycles and fast which is useful if the input changes rapidly)

: code deleted by Arun


hope its useful for some body

Arun


[ Edited Tue Jul 15 2008, 02:14 pm ]
 Ûž TPS Ûž like this.
Tags 4 LINES TO 16 LINES DECODER USING 8051digital decoder using 8051

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am