Refer to the assembly (or assembler) language.
3
votes
1answer
39 views
Using Arduino with Assembly on MacOS
I'm trying to use an Arduino UNO board with Assembly on MacOS, but I couldn't find any documentation about it.
How can I compile and upload Assembly files to the Arduino with MacOS?
0
votes
1answer
92 views
Controlling buzzer with assembly
I want to make a piezo buffer beeping with assembly code, but i haven't managed to yet. I have an Arduino UNO board (ATMega328p) and using avra and avrdude to build and load. The buzzer just stay ...
0
votes
1answer
182 views
How to configure 2nd Quadrature Decoder IO pins in Arduino IDE
I am working to read two quadrature encoders using a single Arduino DUE, as part of my summer vacations project. According to the following link
http://atmel.force.com/support/servlet/fileField?id=...
1
vote
4answers
106 views
Building an AtMega328p from Transistors
I'm a little new to circuitry, and the Arduino in itself!
From what I know, I think that it might be possible to actually build one (the processor itself, of course) from transistors. This isn't a ...
1
vote
1answer
90 views
Force compiler to execute instructions sequentially?
Is there a way to force the Arduino compiler to compile individual commands sequentially? Looking at the disassembly, lines of the assembly code for different C/Arduino commands are mixed. I was ...
0
votes
1answer
385 views
Arduino PWM fading led in assembly
I'm writing Arduino UNO (=ATMega328P-PU) programs in assembly to save memory, so I use avra.exe (same as atmel studio's avrasm32) to compile and avrdude to upload, and simple programs like blinking ...
1
vote
1answer
62 views
Working on a reaction test for the Arduino Uno using an led and an lcd shield
The situation involves some Asm inline practice and a basic circuit. The program turns an LED on after a somewhat random period of time then waits until the button is pressed to report back how many ...
0
votes
2answers
537 views
Make LED blink using AVR assembly
I have an ATmega328P Arduino and am trying to make the LED blink using assembly without any additional includes. The goal is to have it blink for 1 second on, then 1 second off, however, it blinks ...
1
vote
2answers
351 views
How to update multiple outputs simultaneously
I need to update simultaneously all the outputs of a specific port.
I am familiar with using micro-processors assembly language. After initializing a port (Data Direction Register), I can write to ...
1
vote
2answers
59 views
Programing in Assembly for the Digispark
I've been given a digispark and am looking to write straight assembly code for it. Anyone know how to get started with this? I've been successful in getting the Arduino IDE set-up but would really ...
0
votes
3answers
166 views
How fast is an Arduino?
Can an Arduino Uno calculate the time that an assembly instruction will take in nanoseconds, not microseconds? I don't want to use a PC, because the calculation will be more accurate using an Arduino, ...
1
vote
1answer
113 views
Interleave Assembly and Source for avr-objdump
Trying to get avr-objdump to generate a listing that interleaves the assembly with the source code. I've tried a bunch of debugging arguments in different configurations but I can't seem to get it. ...
1
vote
2answers
119 views
How is AVR Assembly in Eclipse or at Linux command line done?
I'm trying to learn AVR development in C and Assembly for the Arduino Uno (Atmel 328p microprocessor) in Linux.
I've found many good guides on how to install and setup the AVR plugin for Eclipse, ...
1
vote
1answer
125 views
Upload Assembly to AVR on a breadboard using Arduino as ISP
I try to learn assembly and use an arduino uno R3 to act as a programmer. i have build a standalone circuit with an atmega328p, can upload usual sketches (written in c) and have also sucessfully ...
2
votes
1answer
1k views
Storing in a global variable using inline assembly
What I'm trying to do is pretty basic: I have a global variable and I'm trying to store some value in it (specifically, the SP_H and SP_L values).
The variable is an array of structs and I'm trying ...
1
vote
1answer
551 views
Arduino uno AVR assembly with LEDs
I am currently in an introductory assembly language class.
My assignment is to use a sparkfun joystick shield kit to do something with an arduino uno. I figure turning on LEDs is the easiest. We must ...
1
vote
1answer
2k views
How to create delays in AVR assembly language
Hi i'm new to AVR assembly language so i was trying to get delay function to create 1 ms , 100us, and 1us delays to do that i need to figure out what to replace nop's with below here (mainboard ...