79285509

Date: 2024-12-16 17:17:22
Score: 1
Natty:
Report link

the hell of unicode

;110 10000 10 111111 ; п
;110 10000 11 000000 ; no more unicode, cuz second byte doesnt starts with 10
;110 10001 10 000000 ; р

so

strochnaya:
cmp ax, 1101000010111111b ; п 
ja more_tan_p_strochnaya

simple_strochnaya:
    sub ax, word 20h ; just -32
    jmp end_russian_symbol

more_tan_p_strochnaya:
    sub ax, word 0xE0  ; 225 because 193 for save 10 of second byte and + 32 = 225
    jmp end_russian_symbol
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alexandr