Skip to content

syntax, markdown and contents revision#394

Merged
oxe-i merged 3 commits intoexercism:mainfrom
oxe-i:revision_strings_floats
Nov 3, 2025
Merged

syntax, markdown and contents revision#394
oxe-i merged 3 commits intoexercism:mainfrom
oxe-i:revision_strings_floats

Conversation

@oxe-i
Copy link
Copy Markdown
Contributor

@oxe-i oxe-i commented Nov 3, 2025

Changelog:

  1. Add observation on the Floating-Point Numbers concept to indicate that the comparison between them should be treated as unsigned.
  2. Add observation on the Strings concept to indicate that a dereferenced memory location may be used directly as operands to most instructions, without first loading its contents in a register.
  3. Add notes in the solution file for Inventory Management, to indicate the size of each argument and the return value.
  4. Add a table to the Poetry Club Door Policy instructions with the size for the string instructions.
  5. Since the Floating-Point Numbers concept requires the Memory concept, I've adjusted the exemplar solution to make use of constants and be more idiomatic.
  6. Removed all links for the introduction.md in every concept exercise.

@oxe-i
Copy link
Copy Markdown
Contributor Author

oxe-i commented Nov 3, 2025

macOS complains about size mismatch if I use a 64-bit memory operand directly in a SSE instruction. I can't use a m64 operand (which is standard) and a m32 or m128 is an actual mismatch (so no assembler/compiler passes).

So, basically, the simulator forces the memory operand to be loaded first into a xmm register.

@oxe-i oxe-i merged commit c65c863 into exercism:main Nov 3, 2025
5 checks passed
@oxe-i oxe-i deleted the revision_strings_floats branch November 3, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants