Pseudocode is code that is not specific to any architecture nor programming language. It is intended to be human-readable, not machine-readable, and is primarily used to demonstrate the operating principals of an algorithm in a high-level format suitable for any architecture and any language. The 8086 is a specific architecture, so any code produced specifically for it cannot be regarded as being pseudocode since it would have to be in a machine-readable form.
Pseudo code cannot be processed by a machine, it is solely intended for processing by humans.
No. There is no "right way" and "wrong way" of writing pseudo code, let alone qualifying with "absolute". However, a pseudo code is "wrong" if it cannot be understood, or it is incorrect in semantic (what the code tries to describe, solve, etc)
Pseudo code does not have key words, you make it up, that's why it is pseudo.
pseudo code algorithm to create a linked list
Writing in pseudo code means writing in a natural language, not in any specific programming language, so there is no thing as "pseudo-code used in C" as opposed to "pseudo-code used in Java".When you write in pseudo-code, you don't have to follow any specific syntactic rules, just to describe the steps you will use in your algorithm.For example, pseudo-code for bubble sort (taken from wikipedia):procedure bubbleSort( A : list of sortable items ) do swapped = false for each i in 1 tolength(A) - 1 inclusive do: if A[i-1] > A[i] then swap( A[i-1], A[i] ) swapped = true end ifend for while swapped end procedureIt is not written in any programming language, but it should be easy to implement this in any language after you understand the idea from the pseudo-code.
Pseudo code cannot be processed by a machine, it is solely intended for processing by humans.
It doesn't. Pseudo code isn't a programming language, it is just there to give an idea of how you could write a program.
No. The 8086 has instructions not present in the 8085. The 8086 was marketed as "source compatible" with the 8085, meaning that there was a translator program which could convert assembly language code for the 8085 into assembly language code for the 8086. However, this does not mean that the compiled 8086 assembly code would then run on an 8085; among other things, the 8086 was a true 16-bit processor, as opposed to the 8085 which was an 8-bit processor that supported a few 16-bit operations.
what's the difference between flow chart and structure diagrams and pseudo code
No. There is no "right way" and "wrong way" of writing pseudo code, let alone qualifying with "absolute". However, a pseudo code is "wrong" if it cannot be understood, or it is incorrect in semantic (what the code tries to describe, solve, etc)
Pseudo code does not have key words, you make it up, that's why it is pseudo.
pseudo code algorithm to create a linked list
Source code is a sequence of executable instructions written in a particular language. Pseudo code is a sequence of non-executable instructions. It is also called algorithm written in plain English
You are going about this backwards. First, define the program. Second, describe its algorithm. Third, if needed, write pseudo code. (Sometime, algorithm and pseudo code is the same process.) Fourth, or third, write real code.
:-P
442.9
Pseudo city codes are 3 or 4 charachters long