Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me write a MPLAB code that puts data in the general purpose registers

Status
Not open for further replies.

Daryl69

Newbie level 2
Newbie level 2
Joined
Apr 25, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
Hi wonder if anyone can help me. I've got this program to write in MPLAB and I don't have a clue how 2 do it.

This is the scenario


Write a program in assembler that puts data 01h in the general purpose register 0ch, 02h in the general purpose register 0dh, 03h in the general register 0eh and so on up to register 14h.


Any help would be appreciated. asap IF Possible.

Thankyou. Daryl
[/b]
 

Tricky code

This isn't tricky.

Read the datasheet for the paticular uC you are writing for, paticularly the section listing the instruction set.

There is plenty of PIC software on the web that you can look at for examples.

Please give your post meaningfull subjects eg "writing software for microchip PIC".
this should be in the microcontrollers forum, you are writing software to run on a microcontroller not a PC.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top