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.
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.
FYI:
The OP seems to have received a good enough response from the Microchip forum:
https://forum.microchip.com/s/topic/a5CV40000001gq1MAA/t396902?comment=P-2954021
It seems obvious that Microchip has way too many small users demanding support resources that their large quantity customers want exclusive access to.
The best way to sort out the riffraff is to make old tools useless and charge a lot more for the new stuff.
To the OP:
There is quite a lot missing from the code in your post#4.
This is what a complete example that builds without warnings or errors looks like:
;
; File: main.S
; Target: PIC16F627A
; Author: dan1138
; Date: 2024-05-14
; Compiler: pic-as(v2.40)
; IDE: MPLABX v6.00
;
...
I doubt that the Original Poster will check to see if an answer was ever posted.
This code has never been tested with the Proteus simulator or real hardware for that matter.
list p=16F877A ; Select PIC16F877A as target device
list n=0, c=250 ; No page breaks...
Based on your posted code I have some doubt that you could learn enough in less than a week to create a working example.
Do you want someone to do your assignment for you?
I have only used MPLAB version 8.92 on Windows. I suspect that running it on Linux may require some kind of Windows OS emulation. I hear this can be tricky to get the Microchip debug tools working.
You seem to be just starting to learn about assembly language coding.
You should start by describing a little about what you know about using the Microchip controllers and tools. Like the part number of the controller, the version of the Microchip IDE, and the type of operating system you run...
This is one possible solution for your homework:
; Search for the smallest element in a number sequence (array) stored in the internal memory.
; Every element is an 8 bit unsigned integer.
; Inputs: Start address of the array (pointer),number of elements
; Output: Smallest element value in a...
All right so switches or encoder do not cause a character to appear.
I know this is a stupid question but:
Are pins 18 and 17 on your PIC actually changing state?
There is at least one good thing in that the LCD code is working correctly on your 20x4 LCD module.
I tested the code with the MPLAB v8.92 simulator so I know the encoder logic works but there may be some issue with real hardware. I will try it tomorrow.
In the meanwhile try using a pair of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.