> I didn't check, but how about
> 
> ((void (*)(void))(0x1234))();

  Yes, you are right. But I don't know calling function (address) in such way.
How would you know that some function like "foo" is located at 0x1234?

  And Ben, I found I was wrong. Not only hc08 has such logic, stm8, for
example, puts IS_LITERAL if-else statement into emitCall (smt8/gen.c).

BR,
chenwj
  
-- 
Wei-Ren Chen (陳韋任)
Homepage: http://people.cs.nctu.edu.tw/~chenwj

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to