Im in the process of converting some ASM to C so I can port it to a different platform, Ive done the majority of it, and it got me thinking is there any tool that can do this? you feed it the ASM and it converts it to C or even psuedo code?

Also does any no of any lists or websites that show ASM converted to C? in list kinda format?

Kinda like this: -

TEMP_W equ 0x20 could be #define TEMP_W 0x20

Its an interesting thought and possibly a tool id like to code if there isnt one availiable