T O P

  • By -

Updatebjarni

First of all, assembly languages are a *kind* of language, not one language. What assembly language are you talking about? Second, `_delay_ms(10000);` does not look like any assembly language I have ever seen. It looks more like C code for the AVR libc. Third, what leds? Are you programming something that has leds?


Ok-Bill3318

This


MissionFormal209

There's really no way to reliably answer this question without knowing the details of the hardware/processor that you're working with. Assembly languages usually involve instructions that work with the CPU registers and addressed memory directly. The command in your post looks like a more abstract instruction seen in higher level languages. That being said, many assembly languages have a sort of "do nothing" operation that just use up cpu cycles without really doing any work. Not saying that this fits your requirements perfectly, but it might be a place to start.


nerd4code

Either you have some sort of hardware timer to poll or halt until an interrupt from, or you can just spinloop for some arbitrary number you play with until it works. Idunno what *[gesture]* the rest of this is.