{"id":972,"date":"2022-08-30T15:10:15","date_gmt":"2022-08-30T15:10:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/assembler-translator-or-transcriptor-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:10:15","modified_gmt":"2022-08-30T15:10:15","slug":"assembler-translator-or-transcriptor-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/assembler-translator-or-transcriptor-collection-of-common-programming-errors\/","title":{"rendered":"Assembler translator or transcriptor-Collection of common programming errors"},"content":{"rendered":"<p>To answer your question, an Assembler is a translator that converts human readable instructions into a code that is suitable for a machine to understand. All kinds of tools such as assemblers, compilers, interpreters are nothing more than translators.<\/p>\n<p>A translator is a complex software that has to analyze each and every single syntax, for an example<\/p>\n<pre>\nlet x = 4\n<\/pre>\n<p>This is just an example, to us humans, it means assigns the value of a variable called &#8216;x&#8217; in this case, 4, the translator would convert this to an equivalent machine code like this<\/p>\n<pre>\nmov [bx], 4\n<\/pre>\n<p>As you can see from this simple example, the translator has to work out the location of where the variable &#8216;x&#8217; reside in memory and to perform the instructions necessary to make it functionally equivalent to the human readable syntax. The translator has separate parts that make up a valid syntax<\/p>\n<p>Suppose the wording was like this<\/p>\n<pre>\nlets x = 4\n<\/pre>\n<p>The translator would flag this as a syntax error<\/p>\n<p>WOOOPS!!!<\/p>\n<p>the translator has no knowledge of that word &#8216;lets&#8217; so flag up a syntax error, the end result would be &#8220;Syntax error, &#8216;lets&#8217; unknown!&#8221; which would be displayed to the end user, i.e. the programmer..<\/p>\n<p>That is how a translator works.<\/p>\n<p>As for transcriptor, thats a new one to me never heard of it.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:09:02. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>To answer your question, an Assembler is a translator that converts human readable instructions into a code that is suitable for a machine to understand. All kinds of tools such as assemblers, compilers, interpreters are nothing more than translators. A translator is a complex software that has to analyze each and every single syntax, for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-972","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=972"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/972\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}