{"id":20415223,"url":"https://github.com/n-bhasin/advancesmartcontract-assemblyloop","last_synced_at":"2026-04-23T03:32:13.938Z","repository":{"id":44208458,"uuid":"279434289","full_name":"n-bhasin/AdvanceSmartContract-AssemblyLoop","owner":"n-bhasin","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-24T03:18:51.000Z","size":801,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T03:31:12.369Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n-bhasin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-13T23:37:32.000Z","updated_at":"2020-07-13T23:39:23.000Z","dependencies_parsed_at":"2023-01-31T16:31:11.291Z","dependency_job_id":null,"html_url":"https://github.com/n-bhasin/AdvanceSmartContract-AssemblyLoop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/n-bhasin/AdvanceSmartContract-AssemblyLoop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n-bhasin%2FAdvanceSmartContract-AssemblyLoop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n-bhasin%2FAdvanceSmartContract-AssemblyLoop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n-bhasin%2FAdvanceSmartContract-AssemblyLoop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n-bhasin%2FAdvanceSmartContract-AssemblyLoop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n-bhasin","download_url":"https://codeload.github.com/n-bhasin/AdvanceSmartContract-AssemblyLoop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n-bhasin%2FAdvanceSmartContract-AssemblyLoop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32164920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T02:19:40.750Z","status":"ssl_error","status_checked_at":"2026-04-23T02:17:55.737Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T06:14:42.789Z","updated_at":"2026-04-23T03:32:13.924Z","avatar_url":"https://github.com/n-bhasin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assembly-loop\n\nFollowing the steps to complete this exercise:\n\n1. clone this project\n\n```bash\ngit clone https://github.com/GeorgeBrownCollege-Toronto/Advanced-Smart-Contracts.git ./assembly-loop \u0026\u0026 cd ./assembly-loop \u0026\u0026 git filter-branch --prune-empty --subdirectory-filter ./notes/solidity-assembly/lab/assembly-loop HEAD \u0026\u0026 rm -rf ./.git\n```\n\n^^^ Stack Overflow : [https://stackoverflow.com/a/11835214](https://stackoverflow.com/a/11835214)\n\n1. install packages: npm install\n1. run the test: npm test\n1. the test should fail the gas test\n1. fix the failed test case by updating the BitWise.sol contract\n   - replace the logic in the countBitSetAsm() with inline assembly logic\n     - fixed buy adding the assemblycode\n1. add a test case to verify the result for countBitSetAsm(0)\n   - added in testFile\n1. commit your changes to github and submit your github url\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn-bhasin%2Fadvancesmartcontract-assemblyloop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn-bhasin%2Fadvancesmartcontract-assemblyloop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn-bhasin%2Fadvancesmartcontract-assemblyloop/lists"}