On Mon, 13 Aug 2012 22:00:24 +0000, Hall, Keven wrote: >That may be so but the DC statement I posted generates the same >data as the statements in the original posting I was responding to.
No, it doesn't. Yours generates X'0001020304050607...'. The post that you replied to had C'0001020304050607...'. -- Tom Marchant > >>From: Lennie J Dymoke-Bradshaw >> >>That would generate a 256 byte table in Hex. >>For the TROT translation we need a 512 byte table in char. >> >>From: "Hall, Keven" <[email protected]> >>> >>>Or like so: >>> >>>HEX2CHAR DC 256AL1(*-HEX2CHAR) >>> >>>From: Steve Smith >>>> >>>>Using TROT is a great idea, but why not code the table like so: >>>> >>>>HEX2CHAR DC C'000102030405060708090A0B0C0D0E0F' >>>> DC C'101112131415161718191A1B1C1D1E1F' >>>> DC C'202122232425262728292A2B2C2D2E2F' >>>> >>>>On Wed, Aug 8, 2012 at 9:24 AM, Rob Scott wrote: >>>>> >>>>> I use the "TROT" instruction ... >>>>> DC X'F0F0F0F1F0F2F0F3F0F4F0F5F0F6F0F7' 00-07 >>>>> DC X'F0F8F0F9F0C1F0C2F0C3F0C4F0C5F0C6' 08-0F >>>>> DC X'F1F0F1F1F1F2F1F3F1F4F1F5F1F6F1F7' 10-17 >>>>> DC X'F1F8F1F9F1C1F1C2F1C3F1C4F1C5F1C6' 18-1F
