In this video I'll show you how Binary Coded Decimals (COMP-3) are actually represented in theory and in memory and how they compare to floating point numbers (COMP-1 and COMP-2). We'll also go through downloading, compiling and installing the newest GNUCOBOL so we can use some of its intrinsic functions for displaying BCD variables.
COBOL 11 (Previous): Making Decisions: https://youtu.be/Jom-rsD08eQ
COBOL 13 (Next): Introductions to Functions and Simple Loops: https://youtu.be/7kUmGkN9QgY
Assembly 39a: The FPU and Floating Point in Memory: https://youtu.be/7UbI6UTZT1E
GNUCobol Download: https://sourceforge.net/projects/gnucobol/files/gnucobol/3.2/
00:00 Introduction
01:07 Overview of Binary Coded Decimals and Packed BCDs
07:36 Downloading, Compiling and Installing the latest GNUCOBOL compiler for Linux
16:27 Floating Point data in COBOL
24:39 BCD data in COBOL
30:46 Viewing BCD and floating point data in Memory
38:22 In Summary