POV-Ray : Newsgroups : povray.off-topic : C/C++ Data Type Ambiguity Backwards : Re: Platform with non-8-bit bytes Server Time
8 Jul 2024 08:03:44 EDT (-0400)
  Re: Platform with non-8-bit bytes  
From: clipka
Date: 25 Aug 2015 01:45:10
Message: <55dc00e6$1@news.povray.org>
Am 24.08.2015 um 19:44 schrieb Orchid Win7 v1:
> On 24/08/2015 11:28 AM, Lars Rohwedder wrote:
>> I worked on such platform, not a PDP-11 (I am too young for that) but an
>> awkward embedded DSP chip:
>>
>> http://roker.spamt.net/c++/datatypes_c55x.png
>>
>> It was very annoying to do C++ on that, e.g. file I/O and std::string
>> didn't work as I expected. :-(
> 
> I saw an FAQ page somewhere that had examples of systems where the size
> of a pointer really does change depending on what it points to.
> 
> I imagine trying to do C on a Harvard architecture machine would be
> "interesting" for exactly this reason. (And I gather that's quite
> popular in DSP chips...)

Get a MCS-51 development environment and see for yourself...

It might also be interesting to see if and how the MCS-51 C compiler
supports the bit-addressable portion of data memory, external data
memory (which has a 16-bit address space separate from both core data
memory and instruction memory), and so forth...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.