Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for assembly
Search options not deleted
0 votes
4 answers
7k views

How to use assembly in Arduino?

How do I write working code for this project in assembly (not restricted to @rduino IDE, but preferable)? … I've already tried converting my code to assembly using an online converter, but it is useless. …
COAL's user avatar
  • 19
2 votes
3 answers
432 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 like to avoid writing assembly in-line... …
Jester Jeffrey's user avatar
0 votes
0 answers
248 views

how do i convert to assembly code (AVR assembly) from arduino

I am struggling to convert the below code to assembly. can someone please help? …
dirshan ramlall's user avatar
2 votes
1 answer
605 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? …
Dan's user avatar
  • 23
1 vote
2 answers
102 views

Weird assembly output

I was taking a look at the disassembly for a loop of mine that seemed to be taking too long and I found these assembly instructions that I don't understand. …
Anubhav's user avatar
  • 137
1 vote
1 answer
2k 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 program it in AVR assembly(note: we have only used nasm assembly all semester). …
Tim's user avatar
  • 11
1 vote
1 answer
3k 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. …
Frazzo's user avatar
  • 125
2 votes
1 answer
909 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. … The best I could do was getting it to interleave the object with line numbers from the assembly (avr-objdump -lS spi.o) Original Makefile Here's my current Makefile: PREFIX=avr- CC=${PREFIX}gcc OBJCOPY …
Ashlyn Black's user avatar
1 vote
1 answer
816 views

How to add two assembly arrays in arduino

do is to sum two arrays and return a new array; for example if given uint8_t a[] = {2, 4, 6}; uint8_t b[] = {1, 2, 3}; I should get { 3, 6, 9} What I'm trying to do is have a .ino file call on an assembly … file that will do this in assembly and not in C and this is what I currently have in assembly: // mimics void sumArrays(uint8_t *a, uint8_t *b, uint8_t *c, byte length){} method .global sumArrays …
John Rawls's user avatar
1 vote
2 answers
14k 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. …
Josue Espinosa's user avatar
15 votes
2 answers
2k views

Assembly on the Arduino: IO registers

Question: What registers do I use to access the IO on the Arduino Uno when I am using assembly for programming? … Background: I was interested in practicing my assembly language skills on the Arduino (I thought it would be easier to turn LEDs on/off than to worry about console IO). …
apnorton's user avatar
  • 533
0 votes
4 answers
5k views

I need help programming my arduino in assembly [closed]

The program needs to be done in assembly. I have a working program in c++ but I need to convert it to assembly. …
user58745's user avatar
1 vote
2 answers
2k 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 run …
Frazzo's user avatar
  • 125
0 votes
1 answer
491 views

Is it possible to use assembly with arduino?

I want to learn assembly, but would like to learn by doing, is it possible to learn and make something useful with arduino hardware? I dont know where or how to start something like this. …
Bruno Barros's user avatar
2 votes
1 answer
2k views

How do I convert this program to assembly from c++

I have a working program in c++ but I want to convert it to assembly. I have just started learning assembly and am not very good at it. The part I am really stuck on is the analogRead() function. … I do not know how to implement this on assembly. Anyone know how to do this? …
user58745's user avatar

1
2 3 4 5
26
15 30 50 per page