Watcom ASM + C puzzle, variable has conflicting addresses (Developers)
> IFDEF __JWASM__
> lodsb es:0
> ELSE
> es lodsb
> ENDIF
This worked for jwasm, but wasm didn't do what i expected. It silently discarded the segment override prefix. The source code says "es lodsb" but the wdis output shows an unqualified "lodsb".
The following works correctly in both assemblers.
lods byte ptr es:[si]
Complete thread:
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 31.12.2025, 23:25 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Watcom ASM + C puzzle, variable has conflicting addresses - jadoxa, 01.01.2026, 02:06
- Watcom ASM + C puzzle, variable has conflicting addresses - Rugxulo, 01.01.2026, 03:44
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 09:01
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 16:35
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 18:57
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 21:07
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 18:57
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 16:35
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:09
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 21:32
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 21:51
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:56
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:58
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 22:54
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 23:26
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 02.01.2026, 17:42
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 03.01.2026, 18:09
- Watcom ASM + C puzzle, variable has conflicting addresses - ecm, 03.01.2026, 21:23
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 16.01.2026, 04:44
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 03.01.2026, 18:09
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 04.01.2026, 05:21
- Watcom ASM + C puzzle, variable has conflicting addresses - rr, 04.01.2026, 11:40
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 04.01.2026, 15:31
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 04.01.2026, 16:21
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 04.01.2026, 15:31
- Watcom ASM + C puzzle, variable has conflicting addresses - rr, 04.01.2026, 11:40
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 02.01.2026, 17:42
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 23:26
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 22:54
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:58
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 21:32
- Watcom ASM + C puzzle, variable has conflicting addresses - samwdpckr, 02.01.2026, 08:50
- Watcom ASM + C puzzle, variable has conflicting addresses - bretjohn, 08.01.2026, 21:53
- Watcom ASM + C puzzle, variable has conflicting addresses - jadoxa, 01.01.2026, 02:06
Mix view