I'm currently developing an operating system that uses the limine bootloader and follows the limine boot protocol. However, I've encountered an issue: when I call init_PIC(), the CPU resets immedia... CPU Reset When Remapping the PIC Using Limine Bootloader in My OS I need to move a PIC X defined field that has numerics with a 2 position decimal to a numeric field to perform an arithmatic function involving a comp-3 field.

Context Explanation

What is the best way to do this? I d... How to REDEFINE and perform arithmetic on a PIC X clause in COBOL 05 I-DATA PIC X(7). 05 I-NUMERIC REDEFINES I-DATA PIC 9999.99.

Insight Material

. . MOVE I-NUMERIC TO O-DATA. You need to redefine you AlphaNumerc as a Display Numeric which can then be moved to the packed decimal variable. Be careful as this will bomb out with an OC7 if there is anything other than numbers or spaces plus the '.' in the data.

Final Conclusion

COBOL : Move PIC X TO PIC S9.99 COMP-3 - Stack Overflow MPLAB X IDE PIC assembly program throwing syntax error on lines containing labels Asked 5 years, 10 months ago Modified 5 years, 8 months ago Viewed 9k times MPLAB X IDE PIC assembly program throwing syntax error on lines ...