WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

Assembly Language Programming, I am having a problem with my homework regarding assembly, to be more precise, programming for the microchip pic16 series.

nathan.petrelli.1987
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 8856
Joined: 12-June 08


hi guys,

I am having a problem with my homework regarding assembly, to be more precise, programming for the microchip pic16 series. heres the thing, im really a noob and i don't figure it out at all, i have this homework so please if someone knows to solve it or if someone can give me some help. i also need to ask you how can i assemble these codes? using winasm?

1. write a program which defines name V1 for the location 0x32, V2 for the location 0xB1, RES for the location 0x35. program subtracts V2 from V1 if V1>V2 and stores the result in RES, else (if V1<=V2) is adds V2 TO V1 and stores and stores it into RES

2. Write a program which reads the date from the location 0x32 into register W, adds to it the value from the location 0x22 and 0x23 and stores the result into location 0x24

so, those are the problems so if someone is capable, please help me

thanks in forward, and sincere greetings

ps. data sheet can be found here smile.gif
PMEmail Poster
Top
SeaFarer
Quote Post


Extremely Active Member
******

Group: Members
Posts: 1753
Member No.: 1464
Joined: 2-September 05


How do you expect to learn if someone helps do your homework? rolleyes.gif

Have you tried to collaborate with a fellow classmate that has the patience and willingness to help you with your project? unsure.gif

cheers.gif
PM
Top
nathan.petrelli.1987
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 8856
Joined: 12-June 08


lol, yea but no one knows it since the professor mentioned only whats assembly and not any particular or even similar example to this one

so, please solve it, deadline is till midnight, :S
PMEmail Poster
Top
JimG
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 725
Member No.: 11
Joined: 16-May 04


If you want help with MicroChip assembly, go here
We mostly just do Masm here.
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google