{"action":"created","comment":{"url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/comments/72630170","id":72630170,"diff_hunk":"@@ -0,0 +1,39 @@\n+SECTION .data\n+x DD 4\n+ergebnis DD 0\n+koeffizient DD 33,2,7\n+msg DB \"Ergebnis: %d\", 10, 0\n+\n+SECTION .text\n+global _start\n+extern printf\n+\n+_start:\n+push ebp\n+mov ebp, esp\n+\n+        mov ebx, koeffizient\t\t; ebx = &koeffizient\n+\tmov eax, [x]\t\t\t; eax = x\n+\timul eax \t\t\t; x²\n+\timul eax, dword [ebx + 0 * 4] \t; eax *= ebx + 0 * 4 (ebx-base, 0-index, 4-scale)\n+\tpush eax \t\t\t; save eax=ax² on stack\n+\tmov eax, [x]\t\t\t; eax = x\n+\timul eax, dword [ebx + 1 * 4]\t; eax *= ebx + 0 * 4 \n+\tpush  eax\t\t\t; save eax = bx\n+\tmov eax, dword [ebx + 2 * 4]\t; eax = c\n+\tadd eax, dword [esp]\t\t; eax += current stack value(= bx)\n+\tadd esp, 4\t\t\t; stackpointer + 4 \n+\tadd eax, dword [esp] \t\t; eax += current stack value(= ax²)\n+\tmov dword [ergebnis], eax\t; save eax in ergebnis(= c+bx+ax²)\n+\n+\tpush dword [ergebnis]\n+\tpush msg\n+\tcall printf\n+\tadd esp, 8\n+\n+mov esp, ebp\n+pop ebp\n+\n+mov ebx, 0\n+mov eax, 1\n+int 0x80","path":"a3.asm","position":39,"original_position":39,"commit_id":"3ada4e6f9a62e1a9f867eb5b5879915d9fc230b7","original_commit_id":"3ada4e6f9a62e1a9f867eb5b5879915d9fc230b7","user":{"login":"reneahlsdorf","id":15363094,"avatar_url":"https://avatars.githubusercontent.com/u/15363094?v=3","gravatar_id":"","url":"https://api.github.com/users/reneahlsdorf","html_url":"https://github.com/reneahlsdorf","followers_url":"https://api.github.com/users/reneahlsdorf/followers","following_url":"https://api.github.com/users/reneahlsdorf/following{/other_user}","gists_url":"https://api.github.com/users/reneahlsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/reneahlsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reneahlsdorf/subscriptions","organizations_url":"https://api.github.com/users/reneahlsdorf/orgs","repos_url":"https://api.github.com/users/reneahlsdorf/repos","events_url":"https://api.github.com/users/reneahlsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/reneahlsdorf/received_events","type":"User","site_admin":false},"body":"👍","created_at":"2016-07-28T14:17:05Z","updated_at":"2016-07-28T14:17:05Z","html_url":"https://github.com/RWTH-OS/gi4_uebung03/pull/3#discussion_r72630170","pull_request_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/comments/72630170"},"html":{"href":"https://github.com/RWTH-OS/gi4_uebung03/pull/3#discussion_r72630170"},"pull_request":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3","id":69733435,"html_url":"https://github.com/RWTH-OS/gi4_uebung03/pull/3","diff_url":"https://github.com/RWTH-OS/gi4_uebung03/pull/3.diff","patch_url":"https://github.com/RWTH-OS/gi4_uebung03/pull/3.patch","issue_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/issues/3","number":3,"state":"open","locked":false,"title":"Abgabe uebung03","user":{"login":"MaDOS","id":632343,"avatar_url":"https://avatars.githubusercontent.com/u/632343?v=3","gravatar_id":"","url":"https://api.github.com/users/MaDOS","html_url":"https://github.com/MaDOS","followers_url":"https://api.github.com/users/MaDOS/followers","following_url":"https://api.github.com/users/MaDOS/following{/other_user}","gists_url":"https://api.github.com/users/MaDOS/gists{/gist_id}","starred_url":"https://api.github.com/users/MaDOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaDOS/subscriptions","organizations_url":"https://api.github.com/users/MaDOS/orgs","repos_url":"https://api.github.com/users/MaDOS/repos","events_url":"https://api.github.com/users/MaDOS/events{/privacy}","received_events_url":"https://api.github.com/users/MaDOS/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-11T20:04:31Z","updated_at":"2016-07-28T14:17:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cee336bf226948f578a11bfc036a73e189739b37","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3/commits","review_comments_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3/comments","review_comment_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/issues/3/comments","statuses_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/statuses/3ada4e6f9a62e1a9f867eb5b5879915d9fc230b7","head":{"label":"MaDOS:master","ref":"master","sha":"3ada4e6f9a62e1a9f867eb5b5879915d9fc230b7","user":{"login":"MaDOS","id":632343,"avatar_url":"https://avatars.githubusercontent.com/u/632343?v=3","gravatar_id":"","url":"https://api.github.com/users/MaDOS","html_url":"https://github.com/MaDOS","followers_url":"https://api.github.com/users/MaDOS/followers","following_url":"https://api.github.com/users/MaDOS/following{/other_user}","gists_url":"https://api.github.com/users/MaDOS/gists{/gist_id}","starred_url":"https://api.github.com/users/MaDOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaDOS/subscriptions","organizations_url":"https://api.github.com/users/MaDOS/orgs","repos_url":"https://api.github.com/users/MaDOS/repos","events_url":"https://api.github.com/users/MaDOS/events{/privacy}","received_events_url":"https://api.github.com/users/MaDOS/received_events","type":"User","site_admin":false},"repo":{"id":58476237,"name":"gi4_uebung03","full_name":"MaDOS/gi4_uebung03","owner":{"login":"MaDOS","id":632343,"avatar_url":"https://avatars.githubusercontent.com/u/632343?v=3","gravatar_id":"","url":"https://api.github.com/users/MaDOS","html_url":"https://github.com/MaDOS","followers_url":"https://api.github.com/users/MaDOS/followers","following_url":"https://api.github.com/users/MaDOS/following{/other_user}","gists_url":"https://api.github.com/users/MaDOS/gists{/gist_id}","starred_url":"https://api.github.com/users/MaDOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaDOS/subscriptions","organizations_url":"https://api.github.com/users/MaDOS/orgs","repos_url":"https://api.github.com/users/MaDOS/repos","events_url":"https://api.github.com/users/MaDOS/events{/privacy}","received_events_url":"https://api.github.com/users/MaDOS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MaDOS/gi4_uebung03","description":"GI4 - Übung 3","fork":true,"url":"https://api.github.com/repos/MaDOS/gi4_uebung03","forks_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/forks","keys_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/teams","hooks_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/hooks","issue_events_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/issues/events{/number}","events_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/events","assignees_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/assignees{/user}","branches_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/branches{/branch}","tags_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/tags","blobs_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/statuses/{sha}","languages_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/languages","stargazers_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/stargazers","contributors_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/contributors","subscribers_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/subscribers","subscription_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/subscription","commits_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/contents/{+path}","compare_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/merges","archive_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/downloads","issues_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/issues{/number}","pulls_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/pulls{/number}","milestones_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/milestones{/number}","notifications_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/labels{/name}","releases_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/releases{/id}","deployments_url":"https://api.github.com/repos/MaDOS/gi4_uebung03/deployments","created_at":"2016-05-10T16:17:45Z","updated_at":"2016-05-10T16:19:26Z","pushed_at":"2016-05-11T20:03:11Z","git_url":"git://github.com/MaDOS/gi4_uebung03.git","ssh_url":"git@github.com:MaDOS/gi4_uebung03.git","clone_url":"https://github.com/MaDOS/gi4_uebung03.git","svn_url":"https://github.com/MaDOS/gi4_uebung03","homepage":"http://www.gi4.rwth-aachen.de","size":11,"stargazers_count":0,"watchers_count":0,"language":"Assembly","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RWTH-OS:master","ref":"master","sha":"e00a7c6af7cf08bebfcd2bfa710895e10db3caa6","user":{"login":"RWTH-OS","id":6057191,"avatar_url":"https://avatars.githubusercontent.com/u/6057191?v=3","gravatar_id":"","url":"https://api.github.com/users/RWTH-OS","html_url":"https://github.com/RWTH-OS","followers_url":"https://api.github.com/users/RWTH-OS/followers","following_url":"https://api.github.com/users/RWTH-OS/following{/other_user}","gists_url":"https://api.github.com/users/RWTH-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RWTH-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RWTH-OS/subscriptions","organizations_url":"https://api.github.com/users/RWTH-OS/orgs","repos_url":"https://api.github.com/users/RWTH-OS/repos","events_url":"https://api.github.com/users/RWTH-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RWTH-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":58326579,"name":"gi4_uebung03","full_name":"RWTH-OS/gi4_uebung03","owner":{"login":"RWTH-OS","id":6057191,"avatar_url":"https://avatars.githubusercontent.com/u/6057191?v=3","gravatar_id":"","url":"https://api.github.com/users/RWTH-OS","html_url":"https://github.com/RWTH-OS","followers_url":"https://api.github.com/users/RWTH-OS/followers","following_url":"https://api.github.com/users/RWTH-OS/following{/other_user}","gists_url":"https://api.github.com/users/RWTH-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RWTH-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RWTH-OS/subscriptions","organizations_url":"https://api.github.com/users/RWTH-OS/orgs","repos_url":"https://api.github.com/users/RWTH-OS/repos","events_url":"https://api.github.com/users/RWTH-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RWTH-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RWTH-OS/gi4_uebung03","description":"GI4 - Übung 3","fork":false,"url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03","forks_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/forks","keys_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/teams","hooks_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/hooks","issue_events_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/issues/events{/number}","events_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/events","assignees_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/assignees{/user}","branches_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/branches{/branch}","tags_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/tags","blobs_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/git/refs{/sha}","trees_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/statuses/{sha}","languages_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/languages","stargazers_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/stargazers","contributors_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/contributors","subscribers_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/subscribers","subscription_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/subscription","commits_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/commits{/sha}","git_commits_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/git/commits{/sha}","comments_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/comments{/number}","issue_comment_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/issues/comments{/number}","contents_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/contents/{+path}","compare_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/merges","archive_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/downloads","issues_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/issues{/number}","pulls_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls{/number}","milestones_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/milestones{/number}","notifications_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/labels{/name}","releases_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/releases{/id}","deployments_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/deployments","created_at":"2016-05-08T18:58:32Z","updated_at":"2016-05-08T19:05:09Z","pushed_at":"2016-05-12T19:10:55Z","git_url":"git://github.com/RWTH-OS/gi4_uebung03.git","ssh_url":"git@github.com:RWTH-OS/gi4_uebung03.git","clone_url":"https://github.com/RWTH-OS/gi4_uebung03.git","svn_url":"https://github.com/RWTH-OS/gi4_uebung03","homepage":"http://www.gi4.rwth-aachen.de","size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3"},"html":{"href":"https://github.com/RWTH-OS/gi4_uebung03/pull/3"},"issue":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/issues/3"},"comments":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung03/statuses/3ada4e6f9a62e1a9f867eb5b5879915d9fc230b7"}}}}
{"actor":{"display_login":"reneahlsdorf"}}