diff options
Removed old homeworks
1 files changed, 0 insertions, 30 deletions
| -rw-r--r-- | homework/61984/HW3/main.cpp | 30 |
diff --git a/homework/61984/HW3/main.cpp b/homework/61984/HW3/main.cpp deleted file mode 100644 index 7696fe7..0000000 --- a/homework/61984/HW3/main.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include <iostream> -int gcd(int a, int b) -{ - __asm - { - mov eax, a - mov ecx, b - loop1: - cmp eax, ecx - je end - jg suba - jmp subb - - suba: - sub eax, ecx; - jmp loop1; - - subb: - sub ecx, eax - jmp loop1 - - end: - } -} - -int main() -{ - std::cout << gcd(21, 5); - return 0; -} |
