Re: ARM Updates
- Posted by mattlewis (admin) Apr 11, 2013
- 2221 views
jimcbrown said...
mattlewis said...
I also ifdef'd pit the call() test in sanity.ex. I'm not sure what the equivalent ARM version should be to return immediately.
Just guessing here, but I think it's #CB00 - http://infocenter.arm.com/help/topic/com.arm.doc.faqs/ka9568.html
Edit: I am assuming that this should be a near function call, though - http://infocenter.arm.com/help/topic/com.arm.doc.faqs/ka9225.html
I think that the bugfix confirms my initial suspicions after all - this was a minor peek/poke bug that didn't affect the big picture (i.e. the ability to boostrap the interpreter). Though hindsight is 20/20 I guess.
Nope. After an objdump on some test code, I found the following works:
addr = allocate_code({0xe52db004, 0xe8bd0800, 0xe12fff1e}, 4)
...which objdump tells me is:
e52db004 push {fp} ; (str fp, [sp, #-4]!) e8bd0800 pop {fp} e12fff1e bx lr
Matt