Questions tagged [assembly]

This is a programming language that is at a low level that corresponds with the instruction set of the machine being programmed.

Filter by
Sorted by
Tagged with
16
votes
12answers
6k views

Could you program a microcontroller without a computer?

Let's say you had a rather simple and small microcontroller and had no interfacing, no computer, no debugger, compiler, or assembler. Could you write your code in assembly, convert it (manually) to ...
12
votes
8answers
23k views

Arduino With Assembly?

Since for my venture into Microprocessing I decided to go with Atmel AVR due to the vast resources available. And Arduino seems to has alot as well, not to mention their starter kits seem more "at my ...
1
vote
3answers
11k views

How to set all flags in 8085?

My Microprocessor teacher of 8085 gave an assignment to set all flags ! I have written this little program to set all except Sign, Please help me out ...
-1
votes
1answer
915 views

Debouncing of a push button in assembly using Timer1 interrupt - PIC16F628A [closed]

I am new at assembly programming and I need to develop a debouncing code to use on a push button, for that I am required to use timer1 interrupt. The push button will be used to increment a counter ...
18
votes
8answers
6k views

Writing DSP algorithms directly in C or assembly? [closed]

I m working on a DSP project(IIR filtering) on an Analog Devices digital signal processor(BF706) with the compiler suite coming with it, CrossCore Studio. It has some examples for simple DSP stuff ...
8
votes
3answers
18k views

Difference between reading PORT and PIN

What is the difference between reading PORTA and PINA? What is the relation between a port and its pins?I'm really confused!!! sample of reading PORT:(reading pin is not useful here) Assembly f=1MHZ ...
16
votes
3answers
15k views

Removing rosin flux residue from PCB

I have a nice looking purple PCB from Laen's batch service, which I have assembled using rosin flux. I have cleaned the board as best I can with isopropyl alcohol, which gets rid of the tackiness of ...
7
votes
1answer
580 views

On Freescale iMX31, how can I translate SDRAM address to CPU address?

[This is a re-post of https://stackoverflow.com/q/5346225/69172] I'm new to iMX31 and embedded systems, please help me to understand the translation from SDRAM address to ARM CPU address, especially ...
5
votes
3answers
790 views

Dump Flash Memory through a single GPIO pin

I'm working with Infineon's XMC4500 Relax Kit and I'm trying to extract the firmware through a single GPIO pin. My very naive idea is to dump one bit at a time through the GPIO pin and somehow "sniff"...
3
votes
2answers
375 views

Moisture Senstive Devices - Shelf Life

I have a bag of DAC7512N digital to analog converter from TI. They are still sealed in the original packing, however the caution notes denote "calculated shelf life in sealed bag: 24 months" and the ...
3
votes
1answer
2k views

PIC 16F1503 - change the frequency of internal oscillator

My configuration bits are as follows: ...
2
votes
3answers
790 views

How does the CPU handle XCHG internally?

While designing my own 16-bit CPU I wonder how the register-register XCHG instruction is executed internally. From computer science I know the DLX which doesn't provide XCHG and therefore doesn't need ...
2
votes
1answer
2k views

MPLAB assembly issue code jumps

I am having some issues with what I think to be good code. This is for a uni assignment but this is not the code I'm submitting. This is a test file to understand how it all works. Some of this code ...
1
vote
1answer
1k views

Are AVR multi-cycle instructions pipelined?

Since AVR is a RISC architecture, most instructions only take a single cycle to execute. Still some need two or more cycles, e.g. adiw, which performs 16-bit ...