• ARM Assembly how to print numbers instead of their ascii representation of that number

    Kanan Jarrus
    Kanan Jarrus

    I am new to arm assembly, i'm trying to print integer to screen instead of their ASCII representation of that number. Below is the code which i'm trying with instead of printing 99 i'm getting 'c'

    .global _start
    .text
    _start:
    
    @ write…
    • Answered
    • 10 months ago
    • Processors
    • Classic processors forum
  • SIGILL in 32bit chroot on Cortex-A57

    Yichao Yu
    Yichao Yu

    I'm getting a SIGILL when running a ARMv6 program in a chroot environment.

    The instruction that triggers it is

    Program received signal SIGILL, Illegal instruction.
    0x000104f0 in f ()
    (gdb) disassemble $pc
    Dump of assembler code for function f:
    => 0x000104f0…
    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Illegal instruction caused by <UNDEFINED> instruction: 0x0000bab6

    mlaski
    mlaski

    Hello,

    I have precompiled 3rd party library (driver) for handling device. Library works on my PC with x64 system but when I try to run very simple "Find -> Open -> Close device" program it gives me Illegal instruction. First I thought there is an error…

    • Answered
    • over 3 years ago
    • System
    • Embedded forum
  • Debugging a Cortex-M0 Hard Fault

    Andy Neil
    Andy Neil

    There's many references to Debugging a Hard Fault on Cortex-M3 & M4; eg

    niallcooling's Developing a Generic Hard Fault handler for Armv7-M

    also:

    http://supp.iar.com/Support/?Note=23721

    https://community.freescale.com/thread/306244 - which…

    • Answered
    • over 6 years ago
    • System
    • Embedded forum
  • Crosscompiling C++ Ubuntu / Raspberry Pi

    anneranch
    anneranch

    I am using Eclipse IDE to crosscomplie C++ code.

    When I croosscompile Linux / Ubuntu C++ code for Raspberry Pi 3B (ARM7) I have no issues with actually running the code  on the target.  It all works as expected. I am using just plain "hello word " as test…

    • over 1 year ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • I need an explication to the ARMv6 manual

    Tomáš Strenáčik
    Tomáš Strenáčik

    Hello.
    I downloaded the ARMv6 manual and there are a few things that I don't understand.
    "For an ARM instruction, the value read [from the program counter] is the adress of the instruction plus 8 bytes. Bits [1:0] of this value are always zero, because…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Page Colouring on ARMv6 (and a bit on ARMv7)

    Jacob Bramley
    Jacob Bramley

    Page colouring is a technique for allocating pages for an MMU such that the pages exist in the cache in a particular order. The technique is sometimes used as an optimization (and is not specific to ARM), but as a result of the cache architecture some…

    • over 6 years ago
    • Processors
    • Processors blog
  • ARMv6 中的页面着色(以及部分 ARMv7)

    yongfeng
    yongfeng

    英文原帖:Page Colouring on ARMv6 (and a bit on ARMv7)


    投稿人: Jacob Bramley,2012 年 5 月 14 日

    页面着色是为 MMU 分配页面的一种技巧,以便让页面以特定的顺序保存在缓存中。这种技巧有时用作优化(也不是专用于 ARM);但作为缓存架构的结果,有些 ARMv6 处理器实际上要求分配程序使用一些页面着色。部分 ARMv7 处理器也有相关(尽管没那么严格)的限制。本文将阐述为何缓存架构要施加这一限制,以及它在实践中意味着什么。

    请注意…

    • over 5 years ago
    • 中文社区
    • 中文社区博客