This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

WHAT IS WRONG

I HAVE THIS CODE AND NEED TO SAY WHAT IS WRONG

HELP ME PLZ

LD R0,#>RAMSAVE LD R1,#<RAMSAVE LDE R2,@RR0 LD SV0_RAM,R2 INCW RR0 LDE R2,@RR0 LD SV1_RAM,R2 INCW RR0 LDE R2,@RR0 LD TX_RAM,R2 JP LL9

Parents
  • The ARM Architecture Reference Manual does not have an INCW, JP, or LDE instruction.

    I think it's the instruction set for the HAL 9xxx series. It's the code for a pretty famous bug. You see it starts with two copies of objectives in R0 and R1, but confuses the real objectives (R0) with the ones known only to the crew (R1), which causes the code to corrupt the Recognize Rights of Others (RRO) register, leading to the results with which we're all familiar.

Reply
  • The ARM Architecture Reference Manual does not have an INCW, JP, or LDE instruction.

    I think it's the instruction set for the HAL 9xxx series. It's the code for a pretty famous bug. You see it starts with two copies of objectives in R0 and R1, but confuses the real objectives (R0) with the ones known only to the crew (R1), which causes the code to corrupt the Recognize Rights of Others (RRO) register, leading to the results with which we're all familiar.

Children
No data