[Sdcc-user] Question about genCall

2014-10-01 Thread Wei-Ren Chen
-stmt part (IS_LITERAL is true). Would anyone give me a hint? Thanks. :-) BR, chenwj -- Wei-Ren Chen (陳韋任) Homepage: http://people.cs.nctu.edu.tw/~chenwj -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Ana

Re: [Sdcc-user] Question about genCall

2014-10-01 Thread Wei-Ren Chen
On Thu, Oct 02, 2014 at 11:12:08AM +0800, Ben Shi wrote: > > which port? > Oops, I thought that every port's genCall shoule be nearly the same, but apparently not. I am looing into hc08 port. Is that genCall logic specific to hc08? BR, chenwj -- Wei-Ren Chen (陳韋任)

Re: [Sdcc-user] Question about genCall

2014-10-02 Thread Wei-Ren Chen
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 w

Re: [Sdcc-user] Question about genCall

2014-10-02 Thread Wei-Ren Chen
) 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 A

[Sdcc-user] What is SUB_PORT?

2014-10-03 Thread Wei-Ren Chen
t any compiler behavior or codegen? Thanks. Regards, 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

Re: [Sdcc-user] Changing the default for char from signed char to unsigned char

2014-10-06 Thread Wei-Ren Chen
f someone's program relies the default sign char, will this change breaks his code? BR, chenwj -- Wei-Ren Chen (陳韋任) Homepage: http://people.cs.nctu.edu.tw/~chenwj -- Meet PCI DSS 3.0 Compliance Requirements with Ev

[Sdcc-user] Question about binary constant casting

2014-12-04 Thread Wei-Ren Chen
to int promotion. Am I right or wrong about the C integer conversion rules? :-) Thanks in advance. [1] https://www.securecoding.cert.org/confluence/display/seccode/INT02-C.+Understand+integer+conversion+rules Regards, chenwj -- Wei-Ren Chen (陳韋任) Homepage: ht