3 ms·
Ways to print hello world in assembler on a Raspberry Pi
- KingLancelot 3y ago[dead]
- sixothree 3y agoOh wow. Is the rpi4 already 4 years old? Maybe they should start making them.
- ksaj 3y agoI think the shortage is finally over. Not sure, but I was able to pick an 8G model up a couple weeks ago no problemo. I saw a post the other day from a vendor that said they finally got through a day with some still in stock, too.
- tuatoru 3y agoFor a price ... at least in NZ. Way over the 2019 price.
- ksaj 3y agoHmm, I didn't notice any price increase. But then again, I have a habit of not paying attention to the price, and I buy them from England so I get them before the local shops do. So it very well could have come up in price.
- bravetraveler 3y agoHow people haven't amassed a pile of these already blows my mind. I ended up buying more than I needed years ago, because they were so cheap and readily available It probably doesn't make much sense if we have to deal with customs, but I'm happy to send these off to others in the US
- dang 3y agoRelated ongoing thread: Assembler on Raspberry Pi - https://news.ycombinator.com/item?id=36899712 https://news.ycombinator.com/item?id=36899712 - July 2023 (9 comments)
- saagarjha 3y ago> Hello World using putchar(). This is closer to how the computer actually does it deep down inside. Generally putchar is just going to call write anyways, which takes a buffer. Unrelated: seeing 32-bit ARM code for a device that has been 64-bit for years just makes me sad :(
- idrios 3y agoRaspberry Pi Zero-W is 32-bit. Even more unrelated: Uvicorn servers don't run on 32-bit machines as of version 0.19.0
- oso2k 3y agoAlso for this example, it is not unusual, especially for RISC ISAs, to have to or for it to be optimal to count down rather than how we’re taught in CS/EE/CE to count up in loops. RISC machines can often do several interesting things with zero’d registers or flags or conditions.