🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Wed, 23 Aug 1989 04:47
'as' doesn't recognize 'nop'
#24
Author: Steven M. Schultz
Date: Wed, 23 Aug 1989 04:47
56 lines
1872 bytes
Subject: 'as' doesn't recognize the no-op instruction
Index:	bin/as 2.10BSD

Description:
	the assembler 'as' doesn't recognize (yet another) instruction,
	the "nop" (no-operation).  This created a problem when recompiling
	the standalone system because some of the boot programs require
	a 'nop' as the first word.
	
Repeat-By:
	cd /tmp
	ed x.s
	a
	nop
	w
	q
	/bin/as x.s

	observe the error.

Fix:
	Somewhere along the way, the 'nop' handling either didn't make
	it in to the distribution OR the 'nop' pseudo-define was removed
	from pdp/DEFS.h.  IN ANY EVENT, an assembler should support ALL
	the instructions of the processor it runs on (should also be
	able to run split I/D and/or shared text, but i haven't gotten
	carried away enough yet), this is a small attempt to move in
	that direction.

	Apply the following patches to bin/as/{as19.s,as29.s} to implment
	'nop'.

*** as19.s.old	Fri Jan 22 07:06:51 1988
--- as19.s	Tue Aug 22 17:12:08 1989
***************
*** 184,189 ****
--- 184,190 ----
  
  / flag-setting
  
+ <nop\0\0\0\0\0>;	01;0000240
  <clc\0\0\0\0\0>;	01;0000241
  <clv\0\0\0\0\0>;	01;0000242
  <clz\0\0\0\0\0>;	01;0000244
*** as29.s.old	Fri Jan 22 07:28:05 1988
--- as29.s	Tue Aug 22 17:12:29 1989
***************
*** 151,156 ****
--- 151,157 ----
  
  / flag-setting
  
+ 01;0000240 /nop
  01;0000241 /clc
  01;0000242 /clv
  01;0000244 /clz
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads