fys wrote: > > INT = call > > INT is similar to CALL but not exactly. INT pushs CS, IP, and FLAGS > on to the stack before it jumps to the location pointed to by the IVT item. > Then at the end of that code, there should be a IRET which will pop these > off and continue on from the next instruction after the INT. I come from the BASIC domains, so I called INT a call not a CALL. Good to know there is a CALL anyway. > At the end of the routine you CALL, there should be an appropriate > sized RET. Ok. Is there anything like that to use in the sense of: .code Main: JMP CLSProc ; hop to the CLS procedure ; Point A .exit CLSProc: MOV ax, 0003h : A CLS I think INT 10h ; RET ; What to put here to return to point A? JRET? ; Point B > Jcc can only jmp +/-128, though starting the 386+, you could Jcc > +/-32768. > (Jcc is Jump on Condition. jz, jnz, jc, jnc, etc.) Aha. Now: - JCC = Jump on condition (what is the syntax?) - JZ = Jump on ?? - JNZ = Jump on not ?? - JC = Jump on ?? - JNC = Jump on not ?? - RET = Return from CALL (when? where to?) - IRET = Return from INT (when can I use it?) - LOOP = loop back to a point (to what point? what is the syntax?) - MOV ax,?? = move a unit of data from DB to ax (how?) If there is an online document containing all this, please give me the link and I'll stop bothering you. ;] > > DB = set data > > db 12h,34h,56h,78h > db 'This is a string',0 Ok. Is db 'hello world' same to db 'h','e','l','l','o',' ','w','o','r','l','d' ? > > XOR, OR = something to do with conditions > > XOR, OR, and AND are bitwize "conditions". > > XOR 1,0 = 1 > XOR 1,1 = 0 > XOR 0,0 = 0 Ok. If I use: XOR ax,bx Are ax and bx the input bits and where is the output? Also, is there a NOT? > > This is in NBASM, can somebody tell me what these really and what the > > others mean? Is there an online document about it (simmilar to the > > interrupt list above)? > > In that same interrupt list, you should have received...oh what is the > name of that file... Anyway, there is a file with most if not all the > instructions for numerous processors. I have sweeped trough the files and didn't find it, maybe we're not speaking of the same thing here. I was thinking of a list that has XOR, JMPS, JCC, etc in it with the explanations you are currently giving me. Or maybe I have not downloaded everything. I will check the page. Observer aka DustWolf aka CyberLegend aka Jure Sah C'ya! -- Cellphone: 0038640809676 (SMS enabled) Don't feel bad about asking/telling me anything, I will always gladly reply. [AC/HFA(AS) -- no suprize] The perfect package for online business, get your free copy of the ICI system now: http://www.aimetasearch.com/ici/index.htm MesonAI -- If nobody else wants to do it, why shouldn't we?(TM)