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

RonaldNak
Thu May 09 2024, 07:45 pm
Jamescon
Thu May 09 2024, 12:52 pm
RobertSkats
Thu May 09 2024, 10:23 am
hvCar
Thu May 09 2024, 05:53 am
DJGlido
Wed May 08 2024, 09:28 pm
migCar
Wed May 08 2024, 04:48 pm
TimmyJup
Wed May 08 2024, 12:22 am
Shawnarows
Tue May 07 2024, 10:16 pm