• branch to absolute address
    I wrote a piece of code running in 8051 microcontroller. The code is to write another piece of code to memory starting from, say, 0x1234. After this is done, it will jump to address 0x1234 to execute...
  • Branching to __main
    Hey guys, does someone knows why a branching to __main from the reset handler can causes the program to stop execution at a breakpoint. It branches fine to main but the __main scatter initialisation...
  • Tags for Branch
    Going through the tutorial, my code: AREA MyFirstExample, Code, ReadOnly ENTRY MOV r0,#4 MOV r1,#5 ADD r2,r0,r1 S B S END When I build I get the following error: MyFirstExample...
  • BRANCHING INSTRUCTION
    Dear All, I am trying to add a boot loader for my LPC2478 based application. I want to conditionally Branch to my main code at 0x1000 from the boot loader code. When i tried from Startup.s as below...
  • IF statement
    hi i want to use IF statement in assembly, like this if (p3.0 true) { } else { } or like this BEGIN: IF R0 = #45 { } ELSE { } ENDIF jmp begin so how can i use it, for...