stylebuzzer Posted July 28, 2019 Share Posted July 28, 2019 Did any one tell me how to write assembly language code, and how to understand the forms of 0,1? Link to comment Share on other sites More sharing options...
Strange Posted July 28, 2019 Share Posted July 28, 2019 I don't think anyone is going to provide a complete programming course on the forum. https://www.google.com/search?q=assembler+programming+tutorial If you have any specific questions, feel free to come back and ask. Link to comment Share on other sites More sharing options...
StringJunky Posted July 28, 2019 Share Posted July 28, 2019 https://www.tutorialspoint.com/assembly_programming/ Link to comment Share on other sites More sharing options...
Sensei Posted July 28, 2019 Share Posted July 28, 2019 2 hours ago, stylebuzzer said: Did any one tell me how to write assembly language code, The easiest is to use inline assembler https://en.wikipedia.org/wiki/Inline_assembler inside of C/C++ code you use statement __asm__ ( "code here" ); or asm( "code here" ); 2 hours ago, stylebuzzer said: and how to understand the forms of 0,1? ..you don't have to.. There are widely used mnemonics these days for several decades. x86 instruction set you can see here: https://en.wikipedia.org/wiki/X86_instruction_listings Mnemonic is usually shortcut of full English sentence what does instruction e.g. RCR = Rotate right (with carry) Quick and easy way to learn assembler is to use Disassembly together with Debugging inside of Visual Studio (or Express). You can see C/C++ lines mixed with generated assembler code (equivalent of C/C++). Link to comment Share on other sites More sharing options...
Strange Posted July 28, 2019 Share Posted July 28, 2019 56 minutes ago, Sensei said: Quick and easy way to learn assembler is to use Disassembly together with Debugging inside of Visual Studio (or Express) Note that Visual Studio Express has been replaced by the Community Edition of Visual Studio Link to comment Share on other sites More sharing options...
Sensei Posted July 28, 2019 Share Posted July 28, 2019 Just now, Strange said: Note that Visual Studio Express has been replaced by the Community Edition of Visual Studio Yes. ..I am still using VS Express 2008, as it's simply faster.. For x64 compilation there can be used VS 2010, or specially modified VS 2008. AFAICS, you can still download VS 2008 ISO from Microsoft website at this link: https://go.microsoft.com/fwlink/?LinkId=104679 Link to comment Share on other sites More sharing options...
thuvienkhoahoc Posted November 29, 2019 Share Posted November 29, 2019 Use IDE Easy Code or Visual Studio. Good lucky. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now