Sounds easy if you say it quick.
Nasm won't accept "and" or "shr" in this context (Masm/Tasm syntax?). Replace with "&" and ">>". Then Nasm whines about these operators can only be applied to a "scalar value". You won't find the word "scalar" in the friendly manual. The issue is that a label is a "relocatable value", and Nasm doesn't know what the final value will be - that's up to the linker. The difference between two labels is a "scalar value". Nasm will eat "( wyjatek_0 - $$)" ("$$" is "beginning of section"). That may or may not do what you want. You may need to add in the "origin"... which only the linker knows (unless you're assembling as "-f bin"). For 32-bit Linux, ld will put us at 0x8048000. I think 32-bit Windows is 0x400000(?). No idea for 64-bit code.
Looks like a descriptor of some kind? Doing some system programming, Akasei?
Best,
Frank