Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Need help with Intel Assembly Language and PIC16F877

A few days ago I programmed the PIC16F877 chip to light a Seven Segment Display. I wrote the code in Assembly Language.

The Lab I did invloved me typing up the assembly code on my computer and connecting an ICD to the PIC16F877. The PIC16F877 was then connected to the Seven Segment Display. The code worked. I used MPLAB to do the assembly code.

However I am doing a new experiment where I am using the my computer (an INTEL Processor) to act as the PIC16F877. My computer is to conenct to the Seven Segment Display LCD and control it. It is conencted through the parallel Port.

I am using Turbo C. How do I approach this? I know some C.

Could someone advise me on where to start. Where can I get a good beginners tutorial on INTEL ASSEMBLY and Using TURBO C to start.

IMHO, I dont think your lecturer expects you to literally connect up a 7 seg display to you prize pc that is based on an Intel processor........

Like I said before, perhaps you are going to use the pc, with a suitable program that drives the display as you did with a pic.......but to do this you need some physical means of connecting the display to your pc, this is done via the parallel port........you ned to write a program in what ever language, turbo C in your case, that will enable your pc to drive the display........have a look here: http://www.lvr.com/parport.htm

well you can use a simple buffer ic like 74240 or 245 or another type because the paralel port cannot hold the current needed for the display.
as for the software you think what bits you need to be H for the specific number. take the bits and convert to decimal and send that number to the port. done. some spftware can support sending the binary number directly.

CCS and MPLAB create code that only runs on a PIC. If you want to write a program for a PC using the C language, you need to obtain a compiler for the x86 processor. Gcc and Borland C/C++ are two examples.

The software bogdanfirst refers to is the program you will write to send data to the parallel port to drive your display.

helo. i need a PIC16f877 language to control 2 unit of printer motors placed in x and Y axes. this is an application of cutter machine. i already have the hardware but not the software. anybody please help me... i'm using vb as my GUi with serial connection to my PIC circuit.