Questions tagged [assembly]
A low-level programming language providing symbolic representation of machine code.
35 questions
-3 votes
1 answer
69 views
Can I boot an Arm32 OS on the latest RPIs
I am learning ARM assembly, and my final project is to create an OS fully in ASM and C. So, can I run this future OS on latest RPIs that are arm64 ? Even if the answer is probably no.
2 votes
1 answer
603 views
Which raspberry pi nowadays is compatible with 32bit ARMv7 assembly code?
I'm taking an assembly code class in college, and we're going to study ARM assembly. However, we'll only cover 32bit ARMv7 assembly code. The class uses some weird ARM emulator, but I would much ...
3 votes
1 answer
521 views
Does the Raspberry Pi 4's processor support ARM's SHA256 instructions?
According to Wikipedia, every Armv8 processor should support sha256 hashing instructions however /proc/cpuinfo doesn't list it. Could there be a failure to identify the feature by the kernel? ...
5 votes
1 answer
3k views
How do I read the cpuid in aarch64 asm?
In armv7 / 32bit mode I can read the cpuid using uint32_t arm_cpuid; __asm__("mrc p15, 0, %0, c0, c0, 0" : "=r"(arm_cpuid)); This gives 0x410FD034 for RPi3 and 0x410FD083 ...
2 votes
1 answer
136 views
BCM2835 datasheet addressing system
I've been interested in writing a kernel for my old Raspberry Pi for quite a while, and managed to make work some ARM assembly code I found on the famous "Baking Pi" course by the University ...
2 votes
0 answers
639 views
Lighting an LED through Pi 4 Model B using Assembly
I have been struggling to light an LED using my raspberry pi 4 model b but have not been able to find a solution. My assembly code : .section .init .globl _start _start: mov r0, #0xF0000000 orr r0, ...
1 vote
1 answer
182 views
Radio Transmission
Yes, I pretty much a noob, but I was wondering if there is a way to program the Raspberry Pi in Assembly Code to transmit data via radio frequencies (like remote control) between itself and another ...
2 votes
1 answer
1k views
bootcode.bin RPi 3
I've been reading this document: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/bootflow.md About the boot process of the Raspberry Pi. I want to make a simple "Hello, ...