Author Topic: [DEV] Any interactive REPL tooling for OpenPOWER assembly  (Read 158 times)

tle

  • Sr. Member
  • ****
  • Posts: 490
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
[DEV] Any interactive REPL tooling for OpenPOWER assembly
« on: March 15, 2025, 11:12:34 pm »
I am learning PowerPC assembly by playing around with assembly inlined in C code. Wondering is there any interactive tool that shows the full list of registers and other useful information for assembly language? Many thanks in advance
Faithful Linux enthusiast

My Raptor Blackbird

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 491
  • Karma: +39/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [DEV] Any interactive REPL tooling for OpenPOWER assembly
« Reply #1 on: March 16, 2025, 12:26:20 am »
This is going to sound like a flippant response and it really isn't, but pretty much any debugger would do (I use gdb but lldb should handle it also). You could throw an __asm__("trap\n") in your code and you'll drop into the debugger at that point, from which you can single step and look at the registers as you go along.

atomicdog

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +4/-0
    • View Profile
Re: [DEV] Any interactive REPL tooling for OpenPOWER assembly
« Reply #2 on: March 16, 2025, 02:26:57 am »
Compiler explorer is a cool tool, not sure if it has the features you're looking for though.