Skip to main content
1 vote
0 answers
49 views

I’m learning SIC/XE assembly and I ran into a confusing behavior with addressing modes. Consider these two examples: MOJPRG START 0 +JSUB #WRREC HALT J HALT WRREC RSUB MOJPRG START 0 +JSUB ...
ab55's user avatar
  • 48
0 votes
0 answers
49 views

here is the SIC code, it is printing 00 00 00 to device 64 when I run it inside the SIC simulator provided to me: CLOCK START 3072 T WORD 48500 D WORD 64 H RESW 1 M ...
abboud's user avatar
  • 1
0 votes
1 answer
92 views

This is a sic assembler program where a reading and writing is done: Here the value in linkage register is stored in RETADR.but I don't see it using in RSUB call ...so if not for subroutine call why ...
Fury's user avatar
  • 1
0 votes
1 answer
113 views

This is a program from LELAND L beck's book on System Software (An introduction to system programming) I am trying to understanding how MACROS work this demonstrates the use of macro My doubt is what ...
Midhun Raj's user avatar
0 votes
1 answer
302 views

This is instructions set give in the standard text of System program ( Leland L Beck )for transferring data 5 from accumulator to memory As you all know SIC is a hypothetical machine LDA FIVE Load ...
Midhun Raj's user avatar
0 votes
1 answer
627 views

COPY START 3000 ** LDA THREE ** STA ALPHA ** LDCH CHARC ** STCH C1 ** LDCH CHARZ ** STCH C3 ALPHA RESW 3 THREE WORD 3 CHARC BYTE C'FO' C1 RESB 3 CHARZ BYTE C'EOF' C3 RESB 3 ** END ** This is the ...
Dalim Oh's user avatar
0 votes
0 answers
27 views

I am trying to make an assembler in C for the SIC architecture. And I saw that symbol table and object code table are usually made with hash tables. What I wonder is, how assemblers print these tables....
Dalim Oh's user avatar
0 votes
0 answers
1k views

Above sic/xe code, I don't understand translate process. 105F LDT LENGTH => 774000 1056 EXIT STX LENGTH => 134000 I already know translate opcode and 000. But I don't know how ...
oldkrak's user avatar
  • 57
1 vote
0 answers
676 views

BYTE X'05' BYTE C'05' what is difference between X and C? if I want to write object program,how can I make LOC?
Air_peter's user avatar
1 vote
1 answer
3k views

; Assembly Program ;¯¯¯|¯¯¯|¯¯¯|¯¯¯|¯¯¯|¯¯¯|¯¯¯|¯¯¯|¯¯¯| ; | ; Programmer: joe247 | ; | ;___|___|___|___|___|___|___|...
Yozachar's user avatar
  • 398
0 votes
1 answer
216 views

Hi I'm taking a system software class on my uni and I'm making an assembly code with SIC. I've already written a code with C. So I'm translating it to SIC and I got a question about variable policy of ...
jamie 8910's user avatar
0 votes
0 answers
688 views

While trying to make an assembler for SIC, I thought of these questions. LABEL BYTE X'AB' Here the generated object code would be AB. So the object code might look something like this as an ...
smashingpumpkin's user avatar
1 vote
0 answers
958 views

Can someone help explain the following code. I'm trying to add comments to the following SIC/XE program that explains how this program is calculating a fibonacci sequence for the first 20 numbers, ...
LiterACola's user avatar
0 votes
1 answer
797 views

I have a fairly simple question regarding assembly language. We are using SIC/XE architecture which is basically make believe and for educational purposes only, but does follow the common conventions ...
enigma's user avatar
  • 27
0 votes
1 answer
4k views

So right now I'm trying to understand how object code is generated but thse two lines really confuse me, anyone want explain it to me? RSUB is 4C0000, I understand RSUB is 4C Mnemonic, but where did ...
user avatar

15 30 50 per page