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

BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am
RobertCix
Wed Apr 17 2024, 06:46 am
Astorne
Tue Apr 16 2024, 08:52 pm
Williamjaf
Tue Apr 16 2024, 12:25 pm
best_yyPa
Tue Apr 16 2024, 09:42 am