#298 new
Peter Cordes

Docs: wrong hex values for ASCII chars in db/dw example (3.2.1)

Reported by Peter Cordes | February 27th, 2016 @ 11:25 PM

http://www.tortall.net/projects/yasm/manual/html/nasm-pseudop.html

3.2.1. DB and Friends: Declaring Initialized Data

   ...                                                                                                                                                                 
    dw      'a'                 ; 0x41 0x00 (it's just a number)                                                                                                       
    dw      'ab'                ; 0x41 0x42 (character constant)                                                                                                       
    dw      'abc'               ; 0x41 0x42 0x43 0x00 (string)                                                                                                         
   ...

Those hex values are correct for 'ABC', not 'abc'.

First noticed by Leo Mingo on stackoverflow (who unfortunately posted
his comment as a now-deleted answer
http://stackoverflow.com/a/35623263/224132).

Also, I tried to report this with mail to yasm-doc@tortall.net, but it bounced.

Comments and changes to this ticket

  • MartaDivito

    MartaDivito November 27th, 2019 @ 09:22 AM

    Total lighthouse is imparted for the significant room of the assessment for the material. The depiction of the customessaysreviews.com/smartwritingservice-com/ is held in the mid of the lights. The struggle is devoid of the provision for humans. The student is shipped for the deporting of the authorities. mark is placed for all signs for the systems.

  • IanMiller

    IanMiller March 3rd, 2020 @ 06:30 AM

    Child psychology must be based on the comprehension of the sensitivity that obviously characterizes every child. When we are children we are very sensitive because our organism is still growing. We are too understanding ignorant. Therefore, anything can have a very negative impact on our psychological development.

  • KatieMartin

    KatieMartin March 12th, 2020 @ 08:24 AM

    Arthritis is a condition that affects nearly 70 million people. Treatment can vary extensively, based on severity, on what type of arthritis you have, and on where it strikes. While individual attention from your doctor is necessary to best manage your unique symptoms, certain Superfoods have entered the best doctor near me for autoimmune disease marketplace that can offer tremendous relief for many arthritis sufferers.

  • Jacob Cook

    Jacob Cook March 22nd, 2020 @ 03:46 PM

    That's a little bit to advanced for me but I still enjoy it.
    Jacob from elagage

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Pages