[Coco] 6x09/hello_os9-Commented

dave at davebiz.com dave at davebiz.com
Wed Oct 4 10:48:46 EDT 2023


And just to clarify, I don’t believe there is an assembler directive that adds a zero terminator to a string. 

-Dave Philipsen

> On Oct 3, 2023, at 2:23 PM, L. Curtis Boyle via Coco <coco at maltedmedia.com> wrote:
> 
> Yes, that is correct.
> 
> L. Curtis Boyle
> curtisboyle at sasktel.net
> 
> 
> 
>> On Oct 3, 2023, at 1:21 PM, Gregory Law via Coco <coco at maltedmedia.com> wrote:
>> 
>> Correct me I'm mistaken, but doesn't FCS actually terminate the string
>> by setting the high bit in the last character instead of appending a
>> terminating 0?
>> 
>>> On 10/1/2023 9:31:40 PM, "Allen Huffman via Coco" <coco at maltedmedia.com>
>>> wrote:
>>> 
>>> ‘6) fcs - form constant string? I think. It’s a series of characters with a 0 added at the end.
>>> 
>>>    fcs ‘hello’
>>> 
>>> Will place:  ‘h’,’e’,’l’,’l’,’o’,0
>>> 
>>> If you use fcc, you do not get the added 0 at the end.
>>> 
>> 
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> https://pairlist5.pair.net/mailman/listinfo/coco
>> 
> 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list