Content deleted Content added
MalnadachBot (talk | contribs) m Fixed Lint errors. (Task 12) |
→What is C?: new section Tags: Reverted Mobile edit Mobile web edit |
||
Line 84:
:Yes, the statement needs clarifying. The author might have had in mind the nomenclature of a particular assembly language or a macro name; but, otherwise, the statement appears erroneous. Struct is definitely the sort of complex data structure that complilers, not assemblers, deal with. So, there shouldn't be a one-to-one correspondence. [[User:Dhtwiki|Dhtwiki]] ([[User talk:Dhtwiki|talk]]) 22:44, 27 November 2015 (UTC)
::Various assemblers supported, and presumably still support, structs; Google 'asm struct' for confirmation. I suspect that C was first and assemblers added support to make it easier to call assembly modules from C. I think the assembler would be told to assume that some index register was pointing to a block of memory holding a struct, and the program could then use symbols (labels) as offsets within the struct. However, that is esoteric history and not much use to explain what a struct is. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 23:45, 27 November 2015 (UTC)
== What is C? ==
Uu [[Special:Contributions/45.119.15.53|45.119.15.53]] ([[User talk:45.119.15.53|talk]]) 13:31, 28 November 2022 (UTC)
|