•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 426,019 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,689 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser: Programming Forums
Views: 1085 | Replies: 8
![]() |
I'm sure some of us do, but we're not likely to just give it to you just because you ask.
See the intro threads, we don't give free homework.
Show us what you've managed so far, and then we'll help you with the next step.
See the intro threads, we don't give free homework.
Show us what you've managed so far, and then we'll help you with the next step.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Do not PM me for help; You'll be ignored, or told to learn to read.
Do not ask me if I'm muslim - I'm not. Nor do I care about yours or anyone else's mysticism. Religion is a matrix, take the RED PILL.
Do not PM me for help; You'll be ignored, or told to learn to read.
Do not ask me if I'm muslim - I'm not. Nor do I care about yours or anyone else's mysticism. Religion is a matrix, take the RED PILL.
•
•
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,779
Reputation:
Rep Power: 11
Solved Threads: 185
Why would you want to program it in assembly? AVR-studio can compile C for the 89s51. So the code would look like:
Without knowing how you connected everything, that's all I can tell you
c Syntax (Toggle Plain Text)
char i; for (i=99; i >0; i--) { //write 'i' to 7-seg }
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
do NOT pm me for help, in the best case, you'll get ignored
Meh, methinks you're wasting your fingers, since they've probably gone looking for free food elsewhere rather than actually risk learning something.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Do not PM me for help; You'll be ignored, or told to learn to read.
Do not ask me if I'm muslim - I'm not. Nor do I care about yours or anyone else's mysticism. Religion is a matrix, take the RED PILL.
Do not PM me for help; You'll be ignored, or told to learn to read.
Do not ask me if I'm muslim - I'm not. Nor do I care about yours or anyone else's mysticism. Religion is a matrix, take the RED PILL.
•
•
Join Date: Aug 2008
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Connect 2 seven segment displays on P0 & P2.
Initialize the R0 & R1 registers to 0.
Increment count for every second.
Use this circuit for Count down timer with AT89C2051
count.GIF
For More details visit my website
Initialize the R0 & R1 registers to 0.
Increment count for every second.
Use this circuit for Count down timer with AT89C2051
count.GIF
For More details visit my website
•
•
Join Date: Aug 2008
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Thats a Good point, because 8051 micros drive the load only to ground.
In my circuit i have given pull up resistors for the pins which goes to the base of the transistors. So that the transistor works fine for me.
Anyway thanks for your advice, i will implement it and come back.
In my circuit i have given pull up resistors for the pins which goes to the base of the transistors. So that the transistor works fine for me.
Anyway thanks for your advice, i will implement it and come back.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Assembly Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the Assembly Forum
- Previous Thread: assembly language progam of digital clock using 8085
- Next Thread: Prefetch and MAC instructions



Linear Mode