arm-education / arm-education/Graphical-Micro-Architecture-Simulator

BL writes the target PC address to LR instead of the actual return address

Open
#3 6 comments 0 reactions 1 assignee Assigned to @franciscatan-armedu View on GitHub
Dominant language
JavaScript
Stars
142
Forks
34
PR merge metrics
No merged PRs in 30d

Description

It appears that rather than writing PC +4 to the LR, the tool instead writes the address of the function to LR. This causes functions to loop endless rather than returning.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.