Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Henryp on April 22, 2013, 01:09:29 PM

Title: Do-more designer and real data
Post by: Henryp on April 22, 2013, 01:09:29 PM
The Do-more designer doesn't seem to have the ability in a data view window to show DLV memory as a real number.
Title: Re: Do-more designer and real data
Post by: b_carlton on April 22, 2013, 01:28:49 PM
The Do-More is highly typed compared to the DL products. Ech type has its own memory area. The 'V' memory is for unsigned 16 bit words. 'Real' memory values are stored in the 'R' memory area.
Title: Re: Do-more designer and real data
Post by: BobO on April 22, 2013, 01:51:44 PM
The Do-more designer doesn't seem to have the ability in a data view window to show DLV memory as a real number.

Implied via casting. Needs to be DWORD aligned, which is also the only way it can be used as real in an instruction. To view DLV0-1 as real enter DLV0:R.
Title: Re: Do-more designer and real data
Post by: franji1 on April 22, 2013, 01:56:43 PM
The PUBLISH/SUBSCRIBE instructions' primary purpose is for moving numeric data from type-less Guest Protocol memory (like DLV) into the strongly-typed Do-more Data Blocks (like D, R, N, V or user-defined strongly-typed data-blocks).

Key functionality built-in to these instructions are
1. support for BCD conversion (to/from)
2. support for mis-aligned data (e.g. reals that cross on odd-word boundaries like DLV1/DLV2 as a REAL, which is not supported using Casting mechanism of Do-more).
Title: Re: Do-more designer and real data
Post by: BobO on April 22, 2013, 02:09:35 PM
The PUBLISH/SUBSCRIBE instructions' primary purpose is for moving numeric data from type-less Guest Protocol memory (like DLV) into the strongly-typed Do-more Data Blocks (like D, R, N, V or user-defined strongly-typed data-blocks).

Key functionality built-in to these instructions are
1. support for BCD conversion (to/from)
2. support for mis-aligned data (e.g. reals that cross on odd-word boundaries like DLV1/DLV2 as a REAL, which is not supported using Casting mechanism of Do-more).

...and this too. ;)