HF RL Explorer

Task: Fix the String Reversal Bug in x86-64 Integer-to-String Conversion

Task: Fix the String Reversal Bug in x86-64 Integer-to-String Conversion: a task in Terminal-Lego-15k (Harbor dataset). You are given an x86-64 NASM assembly program that converts an integer to its string representation and prints it. The program has a bug in its reverse string section that causes…

The task

You are given an x86-64 NASM assembly program that converts an integer to its string representation and prints it. The program has a bug in its `_reverse_string` section that causes incorrect output. For example, instead of printing "1691" for the number 1691, it prints "1432".

Part of PrimeIntellect/Terminal-Lego-15k.