{"action":"created","issue":{"url":"https://api.github.com/repos/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/1","labels_url":"https://api.github.com/repos/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/1/comments","events_url":"https://api.github.com/repos/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/1/events","html_url":"https://github.com/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/1","id":129591846,"number":1,"title":"Thanks!","user":{"login":"stellanhaglund","id":2523054,"avatar_url":"https://avatars.githubusercontent.com/u/2523054?v=3","gravatar_id":"","url":"https://api.github.com/users/stellanhaglund","html_url":"https://github.com/stellanhaglund","followers_url":"https://api.github.com/users/stellanhaglund/followers","following_url":"https://api.github.com/users/stellanhaglund/following{/other_user}","gists_url":"https://api.github.com/users/stellanhaglund/gists{/gist_id}","starred_url":"https://api.github.com/users/stellanhaglund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellanhaglund/subscriptions","organizations_url":"https://api.github.com/users/stellanhaglund/orgs","repos_url":"https://api.github.com/users/stellanhaglund/repos","events_url":"https://api.github.com/users/stellanhaglund/events{/privacy}","received_events_url":"https://api.github.com/users/stellanhaglund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-28T21:45:32Z","updated_at":"2016-01-29T08:02:48Z","closed_at":null,"body":"Hi, i just wanted to thank you for posting this code, it was able to make me understand how to use assembly language.\r\n\r\nOnly one question though, Ive only been doing similar things with the peripheral library, and that includes code for the clock and for startup and such.\r\n\r\nIsnt that necessary or should that also be written in assembly code instead? "},"comment":{"url":"https://api.github.com/repos/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/comments/176632465","html_url":"https://github.com/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/1#issuecomment-176632465","issue_url":"https://api.github.com/repos/hubmartin/ARM-cortex-M-bare-metal-assembler-examples/issues/1","id":176632465,"user":{"login":"hubmartin","id":497212,"avatar_url":"https://avatars.githubusercontent.com/u/497212?v=3","gravatar_id":"","url":"https://api.github.com/users/hubmartin","html_url":"https://github.com/hubmartin","followers_url":"https://api.github.com/users/hubmartin/followers","following_url":"https://api.github.com/users/hubmartin/following{/other_user}","gists_url":"https://api.github.com/users/hubmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/hubmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubmartin/subscriptions","organizations_url":"https://api.github.com/users/hubmartin/orgs","repos_url":"https://api.github.com/users/hubmartin/repos","events_url":"https://api.github.com/users/hubmartin/events{/privacy}","received_events_url":"https://api.github.com/users/hubmartin/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T08:02:48Z","updated_at":"2016-01-29T08:02:48Z","body":"Hi, thanks for positive feedback. I try to put more examples there.\r\n\r\nAfter the MCU reset, the RCC_CR (Clock control register, refman 6.3.1) is set to reset value 0x83 which is configuration where High Speed Internal 8MHz clock is enabled and fed to MCU core.\r\n\r\nIf you think about it, it would be chicken and egg problem. You would like to set up the internal clock after reset, but how would you set the clock register if the MCU has no clock running?\r\n\r\nIf you have some ideas how to improve explanation of the assembly example, let me know. I wrote it the best way I could, but maybe I forget to explain something."}}