We cannot help you unless you tell us which assembler and OS you are using.. Why should we take the time to help if you don't give a good description of your problem?
By NASM16 standards, ALL of your code would flag an error.
If you are compiling this to .COM format, you will need to base your code off this..
[org 0100h]
[section .text]
[section .data]
In NASM16 (And a few others), I've never seen ANY assembler syntax like the one you just showed.
when you are saying "in code", that will certainly give you an error, the "in" and "out" commands are short for input\output, and are used for ports..
As an example, to access the internal speaker on port 43h..
mov al,182
out 43h,al
Unless 'code' is some variable that you did not show, but I am basing my answer off the code you supplied.
JUMP and JUMPNEQ
Are also invalid commands (In NASM16)
use
JMP LOCATION
cmp REGISTER,VALUE
JNE LOCATION