CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 16:16:33 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=b5d525dbec5f438dca50ca3bf2d57fe2205c1fb306701003f4ae59946ee41cb4a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22baXnKWxsongvKVVOlROi_aKJe-zw82Wc%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cfa99d8fb95917-BLR
blinking_for_asm.s - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;---------------
- ; Assembly Code
- ;---------------
- #define __SFR_OFFSET 0x00
- #include "avr/io.h"
- ;------------------------
- .global start
- .global led
- ;------------------------
- start:
- SBI DDRB, 4 ;set PB4 (D12) as o/p
- RET ;return to setup() function
- ;---------------------------------------------------------------------------
- led:
- CPI R24, 0x00 ;value in R24 passed by caller compared with 0
- BREQ ledOFF ;jump (branch) if equal to subroutine ledOFF
- SBI PORTB, 4 ;set D12 to high
- RCALL myDelay
- RET ;return to loop() function
- ;---------------------------------------------------------------------------
- ledOFF:
- CBI PORTB, 4 ;set D12 to low
- RCALL myDelay
- RET ;return to loop() function
- ;---------------------------------------------------------------------------
- .equ delayVal, 10000 ;initial count value for inner loop
- ;---------------------------------------------------------------------------
- myDelay:
- LDI R20, 100 ;initial count value for outer loop
- outerLoop:
- LDI R30, lo8(delayVal) ;low byte of delayVal in R30
- LDI R31, hi8(delayVal) ;high byte of delayVal in R31
- innerLoop:
- SBIW R30, 1 ;subtract 1 from 16-bit value in R31, R30
- BRNE innerLoop ;jump if countVal not equal to 0
- ;--------------
- SUBI R20, 1 ;subtract 1 from R20
- BRNE outerLoop ;jump if R20 not equal to 0
- RET
- ;---------------------------------------------------------------------------
Advertisement
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 5 sec ago | 0.24 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ 4
JavaScript | 5 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 0
JavaScript | 7 sec ago | 0.24 KB
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 13 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ Q
JavaScript | 16 sec ago | 0.24 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ I
JavaScript | 19 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 23 sec ago | 0.24 KB
-
⭐⭐Exchange Exploit⭐⭐ 4
JavaScript | 27 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand