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

Williamjaf
Tue Apr 16 2024, 12:25 pm
best_yyPa
Tue Apr 16 2024, 09:42 am
ErnestoExpop
Tue Apr 16 2024, 02:57 am
Jamesclepe
Mon Apr 15 2024, 11:10 am
Aliciaelora
Mon Apr 15 2024, 07:59 am
btaletvpcu
Mon Apr 15 2024, 04:36 am
UbvpwcTib
Mon Apr 15 2024, 03:13 am
AmyJow
Sun Apr 14 2024, 11:54 pm