You might want to try the B::Terse and similar modules. They will show you the bytecode generated by the perl compiler. It's not exactly assembler, but can be very useful in learning some of the fundamentals of the system, much like the native assembly language is very useful in understanding many concepts.
Trivial example:
$ perl -MO=Terse -e 'print "foo!\n"' LISTOP (0x10122248) leave [1] OP (0x10033b50) enter COP (0x100253d8) nextstate LISTOP (0x10122220) print OP (0x1002fcf0) pushmark SVOP (0x100252e0) const [2] PV (0x10010f90) "foo!\n" -e syntax OK
...roboticus
In reply to Re: How can I read assemble code ?
by roboticus
in thread How can I read assemble code ?
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |