[Solved] You have a 64-bit number 0xCCCCCCCCAAAAAAAA. Write an assembly program to implement 64-bit Logic Shift Right. Shift this 64-bit number right by 4 [closed]

You have a 64-bit number 0xCCCCCCCCAAAAAAAA. Write an assembly program to implement 64-bit Logic Shift Right. Shift this 64-bit number right by 4 [closed] solved You have a 64-bit number 0xCCCCCCCCAAAAAAAA. Write an assembly program to implement 64-bit Logic Shift Right. Shift this 64-bit number right by 4 [closed]

[Solved] how to input floating point numbers in assembly language… and how to add subtract and multiply these floating point numbers [closed]

how to input floating point numbers in assembly language… and how to add subtract and multiply these floating point numbers [closed] solved how to input floating point numbers in assembly language… and how to add subtract and multiply these floating point numbers [closed]

[Solved] C++ encryption and decryption [closed]

Answer: In order to do the opposite of your encryption operation, you should replace the call to encrypt_nn with a new routine that decrements instead of increments: __asm { decrypt_nn: mov eax, ecx dec eax ret } Comment: You have changed the loop statement from for (int i = 0; i < length; i++) to … Read more

[Solved] function returns address of local variable, but it still compile in c, why?

Even I get an warning a function returns an address from local variable, it compiles. Isn’t it then UB of compiler? No, but if it were, how could you tell? You seem to have a misunderstanding of undefined behavior. It does not mean “the compiler must reject it”, “the compiler must warn about it”, “the … Read more

[Solved] X86 Intel Assembly Language Questions

Mul EBX multiplies the value in EAX with EBX. The lower 32 bits of the result are stored in EAX, the higher 32 bits of the result are stored in EDX. EAX will be 264 and EDX will be 0. Mul (+ 32bit register) multiplies EAX with the specified register, stores the the lower 32 … Read more

[Solved] Can I write an OS in machine code? [closed]

** yes you can but this is very diffecult for any one and if you do this what make programmers and all design programming lanaguages to make things easily comparing by machine code and this is project as you ask it’s an OS written in machine code it’s still under developing http://www.magicschoolbook.com/computing/os-project note : your … Read more