referring to the accompanying drawings , the following paragraphs describe embodiments of the present invention in detail . fig4 is a timing chart of a dram . first , the operation to access the memory will be briefly described in conjunction with fig4 . in this timing chart , adr is an address signal supplied from an external device and wr indicates a write request signal . these two signals ( adr and wr ) are fed from a microprocessor , for example . in addition , ras is a row address strobe signal , cas is a column address strobe signal , a indicates an address signal representing a column or row address generated in the timesharing fashion , we stands for a write enable signal , and z is a data item supplied from an external device ( microprocessor ). excepting the z signal , they are control signals generated by a dram controller , for example . the memory access outlined in fig4 can be summarized as follows . ( i ) as shown in fig4 a memory access in a read / write cycle generally commences with a read cycle ( i ) and ends with a write cycle due to a write enable signal , we . ( ii ) between the read cycle ( i ) and the write cycle there appears an interval ( ii ) in which a read data do and an external data z ( to be written ) exist simultaneously . ( iii ) this interval ( ii ) is referred to as the operation enabled interval . as described above , the store data do and the external write data z exist simultaneously in the interval ii . as a consequence , the store data do and the external data z can be subjected to an operation during a memory cycle in this interval by use of the memory circuit having an operation function , thereby enabling the operation result to be written in the memory circuit . fig5 is a block diagram illustrating a first embodiment of the present invention , fig6 is an explanatory diagram of the operation principle of the embodiment shown in fig5 fig7 is a circuit example implementing the operation principle of fig6 and fig8 is a table for explaining in detail the operation of the circuit shown in fig7 . the circuit configuration of fig5 comprises a control logic circuit 1 , a unit of memory elements 2 , a dram controller 3 , external data x and y , a write data z to the memory elements unit 2 , a read data do from the memory elements unit 2 , and signals a , cas , ras , adr , and wr which are the same as those described in conjunction with fig4 . the external data z of fig4 is replaced with the write data z delivered via the control circuit 1 to the memory elements unit 2 in fig5 . in accordance with an aspect of the present invention as shown in fig5 the control circuit 1 controls the read data do by use of the external data signals x and y , and the modified read data is written in the memory elements unit 2 . fig6 is a table for explaining the control operation . in this table , mode i is provided to set the external data y as the write data z , whereas mode ii is provided to set the read data do as the write data z . as shown in fig6 the external data signals x and y , namely , the external control is used to control two modes , that is , the read data of the memory elements unit 2 is altered and written ( mode ii ), or the external data y is written ( mode i ). for the control of two modes , ( i ) mode i or ii is specified by the external data x and ( ii ) the modification specification to invert or not to invert the read data do is made by use of an external data . the control and modification are effected in the interval ii described in conjunction with fig4 . a specific circuit example implementing the operation described above is shown in fig7 . the control logic circuit comprises an and gate 10 and an eor gate 11 and operates according to the truth table of fig8 which illustrates the relationships among two external data signals x and y , store data do , and output z from the control circuit 1 . as can be seen from fig8 the control circuit 1 operates primarily in the following two operation modes depending on the external data x . ( i ) when the external data x is ` 0 `, it operates in the operation mode i in which the external data y is processed as the write data z . ( ii ) when the external data x is ` 1 `, it operates in the operation mode ii in which the data obtained by modifying the read data do based on the external data y is used as the write data z . as already shown in fig4 the operation above is executed during a memory cycle . ( i ) the output do from the memory elements unit 2 is fed back as an input signal to the control circuit as described in conjunction with fig4 ; and ( ii ) the write data to the memory elements unit 2 is controlled by use of the input data signals x and y ( generated from the write data from the cpu ) as shown in fig5 . these operations ( i ) and ( ii ) are executed during a memory cycle . that is , a data item in the memory elements is modified with an external input data ( namely , an operation is conducted between these two data items ) during a memory cycle by use of three data items including ( i ) feedback data from the memory elements , ( ii ) data inputted from an external device , and ( iii ) control data from an external device ( a portion of external input data is also used as the control data ). these operations imply that an external device ( for example , a graphic processing system , a cpu available at present , or the like ) can execute a logic operation only by use of a write operation . the operation of the circuit shown in fig7 on the other hand , is expressed as follows ## equ1 ## substituting the externally controllable data items x and y with the applicable values of a signal &# 34 ; 0 &# 34 ;, a signal &# 34 ; 1 &# 34 ;, the bus data di fed from the microprocessor , and the reversed data thereof appropriately di , the operation results of the dyadic logic operations as shown in fig9 will be obtained . fig1 is a circuit diagram implemented by combining the dyadic operations of fig9 with the processing system of the fig5 embodiment . the system of fig1 comprises four - input selectors selφ and sel1 , input select signals s0 and s1 to the selector selφ , input select signals s2 and s3 to the selector sel1 , and an inverter element inv . referring now to fig1 and fig9 - 11 , an operation example of a logic operation will be specifically described . as shown in fig9 the input select signals s0 and s1 are used as the select signals of the selector selφ to determine the value of data x . similarly , the input select signals s2 and s3 are used to determine the value of data y . the values that can be set to these data items x and y include a signal &# 34 ; 0 &# 34 ;, a signal &# 34 ; 1 &# 34 ;, the bus data di , and the inverted data thereof di as described before . the selectors selφ and sel1 each select one of these four signal values depending on the input select signals s 0 to s 3 as shown in fig1 . fig9 is a table illustrating the relationships between the input select signals s0 to s3 and the data items x and y outputted from the selectors selφ and sel1 , respectively , as well as the write data z outputted from the control circuit 1 . in graphic processing as shown in fig1 ( or operation : case 1 ), for example , the data items x and y are selected as di and di , respectively when the input select signals are set as follows : s0 , s1 =( 11 ) and s 2 , s 3 =( 10 ). substituting these values of x and y in the expression ( 1 ) representing the operation of the control circuit 1 , the or operation , namely , z = di + dido = di ·( 1 + do )+ dido = di +( di + di ) do = di + do is executed . in accordance with an aspect of the present invention , therefore , the graphic processing of fig1 can be performed as shown in fig1 in which the input select signals s0 to s1 are specified in the first step ( function specification ), a graphic data item to be combined is thereafter read from the storage area m2 , and the obtained data item is stored in the graphic area only by use of a write operation . various logic functions can be effected by changing the values of s0 to s3 as depicted in fig9 . consequently , an operation to draw a picture , for example , by use of a mouse cursor which is arbitrarily moved can be readily executed as shown in fig1 . even when the mouse cursor ( m2 ) overlaps with a graphic image in the graphic area m1 as illustrated in fig1 , the cursor must be displayed , and hence a function of the eor operation is necessary . in this cursor display , when the input select signals are set as s0 , s1 =( 10 ) and s2 , s3 =( 01 ), the processing can be achieved as depicted in fig1 in the same manner as the case of the composite graphic data generation described before . the various logic functions as listed in the table of fig9 can be therefore easily implemented ; furthermore , the read - modify - write operation on the memory element unit 2 can be accomplished only by a write operation . by use of the circuit configuration of fig1 , the dyadic logic operations of fig9 can be executed as a modify operation to be conducted between the data di from the microprocessor and the read data do from the memory elements unit 2 . incidentally , the input select signals are used to specify a dyadic logic operation . in accordance with the embodiment described above , the prior art processing to generate a composite graphic image can be simplified as depicted by the flowchart of fig1 . the embodiment of the present invention described above comprises three functions as shown in fig1 , namely , a memory section including memory elements unit 2 , a control section having the control circuit 1 , and a selector section including the selectors selφ and sel1 . however , the function implemented by a combination of the control and selector sections is identical to the dyadic logic operation function described in conjunction with fig9 . although this function can be easily achieved by use of other means , the embodiment above is preferable to simplify the circuit configuration . on the other hand , graphic processing is required to include processing in which graphic images and the like are overlapped as illustrated in fig1 - 14 . in the first case , the graphic image in the store area m2 takes precedence over the graphic image in the graphic image area m1 when they are displayed as depicted in fig1 . in the second case , the graphic image in the graphic image area m1 takes precedence over the graphic image in the store area m2 as shown in fig1 . the priority processing to determine the priority of graphic data as illustrated in fig1 - 14 cannot be achieved only by the logical function ( implemented by the fc section of fig1 ) described above . this function , however , can be easily implemented by use of the memory circuit in an embodiment of the present invention , namely , only simple logic and selector circuits need by added to the graphic processing system . an embodiment for realizing such a function will be described by referring to fig1 - 17 . the fc section of fig1 corresponds to a combination of the control circuit and the selectors selφ and sel1 . in this embodiment , the logic operation function ( fc ) section operates in the pass mode with the input select signals s0 to s3 of the selectors selφ and sel1 set as ( 0 , 0 , 1 , 0 ), for example . the circuit block diagram of fig1 includes a priority control section 4 , a two - input selector sel2 , a priority specification signal p , an input select signal s4 to the selector sel2 , a graphic data signal di &# 39 ; from the store area m2 , a graphic image area m1 , a selected signal di from selector sel2 , a graphic data signal do from the graphic image area m1 ( identical to the read data signal from the memory elements unit 2 shown in fig1 ), and an output signal z from the fc section ( identical to the output signal from the control circuit 1 of fig4 ). for the convenience of explanation , the graphic area is set to a logic value &# 34 ; 1 &# 34 ; and the background area is set to a logic value &# 34 ; 0 &# 34 ; as shown in fig1 . in this processing , the priority control section 4 and the selector sel2 operate according to the contents of the truth table of fig1 . the relationships between the input select signal s4 and the input data di to the logic operation function ( fc ) section are outlined in fig1 , where the signal s4 is determined by a combination of the priority specification signal p , the data di &# 39 ; in the area m2 , and the data do from the area m1 , and the input data di is set by the signal s4 . in other words , the truth table of fig1 determines an operation as follows . for example , assume that the graphic area to be used as the background is m1 . if the data items do and di &# 39 ; in the areas m1 and m2 , respectively , are set to the effective data (&# 34 ; 1 &# 34 ;), the priority specification signal p is used to determine whether the data do of the background area m1 takes precedence ( p = 1 ), or the data di &# 39 ; of the area m2 takes precedence ( p = 0 ). that is , if a graphic image in the store area m2 is desired to be displayed over the graphic image of the graphic area m1 , as illustrated in fig1 , the priority specification signal p is set to &# 34 ; 0 &# 34 ;. then , if the graphic data items di &# 39 ; and do are in the graphic areas (&# 34 ; 1 &# 34 ;) as depicted in fig1 , the data di &# 39 ; of the store area m2 is preferentially selected by the selector sel2 . if the priority specification signal p is set to &# 34 ; 1 &# 34 ;, the graphic processing is similarly executed according to the truth table of fig1 as shown in fig1 . in fig1 , if the graphic areas (&# 34 ; 1 &# 34 ;) are overlapped , the graphic area of the graphic area m1 , or the store area m2 , is selected depending on the priority specification signal p , and the data of the graphic area m1 is selected as the background for the area in which the graphic area does not exist . fig1 is a specific circuit diagram of the priority control section 4 depicted in fig1 . in this circuit diagram , reference numerals 40 and 41 indicate a three - input nand circuit and a two - input nand circuit , respectively . in order to apply the principle of priority decision to color data in which each pixel comprises a plurality of bits , the circuit must be modified as illustrated in fig1 . the circuit of fig1 includes a compare and determine section 5 for determining the graphic area ( col3 ) of the graphic area m1 and a compare and determine section 6 for determining the graphic area ( col1 ) of the store area m1 . as described above , the priority determining circuit of fig1 is configured to process code information for which a pixel comprises a plurality of bits . it is different from the circuit for processing information for which a pixel comprises a bit as shown in fig1 in that the priority determination between significant data items is achieved by use of the code information ( colφ to col3 ) because the graphic data is expressed by the code information . consequently , in the case of color data , the overlapped graphic images can be easily processed by adding the compare and determine sections which determine the priority by comparing the code information . the preceding paragraphs have described the priority determine circuit applied to an embodiment of the memory circuit having an operation function , however , it is clear that such embodiment can be applied to a simple memory circuit , or a memory circuit which has integrated shift register and serial outputs . ( 1 ) when executing the processing as shown in fig1 the processing flowchart of fig1 can be utilized , and hence the memory cycle can be minimized . ( 2 ) three kinds of processing including the read , modify , and write operations can be executed only during a write cycle , which enables an increase in the processing speed . ( 3 ) as depicted in fig1 - 18 , the priority processing to be conducted when the graphic images are overlapped can be effected by the use of a plurality of simple logic gates . ( 4 ) the graphic processing of color data can be also easily implemented by externally adding the compare and determine circuits for determining the graphic areas ( code data comprising at least two bits ). ( 5 ) the size of the circuit configuration necessary for implementing the memory circuit according to the invention is quite small as compared with that of a group of memory elements , which is considerably advantageous to manufacture a large scale integration circuit in the same memory chip . next , another embodiment will be described in which processing to generate a composite graphic data represented as the multivalued data of fig3 is executed . fig1 is a circuit block diagram of a memory circuit applied to a case in which multivalued data is processed . this circuit is different from the memory circuit of fig5 in the configuration of a control circuit 1 &# 39 ;. the configuration of fig1 is adopted because the processing to generate a composite graphic data from the multivalued data indispensably necessitates an arithmetic operation , not a simple logic operation . as shown in fig1 , however , the basic operation is the same as depicted in fig5 . in the following paragraphs , although the arithmetic operation is described , the circuit configuration includes the sections associated with the logic operation because the logic operation is also used for the multivalued graphic data processing . the circuit arrangement of fig1 includes a control circuit 1 &# 39 ;, memory elements unit 2 , a dram controller 3 , external control signals cnt and cr , data y supplied from an external device , write data z to the memory elements unit 2 , read data do from the memory elements unit 2 , and signals a , we , cas , ras , adr , and wr which are the same as those shown in fig5 . in the embodiment as shown in fig1 , the control circuit 1 &# 39 ; performs an operation on the read data do and the external data y according to the external control signals cnt and cr ; and the operation result , write data z is written in the memory elements 2 . fig2 is a table illustrating the control operation modes of the control circuit 1 &# 39 ;. when the external control signals cnt and cr are set to φ , the control circuit 1 &# 39 ; operates in a mode where the external data y is used as a control signal to determine whether or not the read data do is subjected to an inversion before it is outputted ; when the signals cnt and cr are set to 0 and 1 , respectively , the control circuit 1 &# 39 ; operates in a mode where the external data y is outputted without change ; and when the signals are set to 1 , the control circuit 1 &# 39 ; operates in a mode where the read data do , the external data y , and the external control signal cr are arithmetically added . fig2 is a specific circuit diagram of a circuit implementing the control operation modes . in this circuit arrangement , the arithmetic operation is achieved by use of the enor gates g1 and g2 , and the condition that the external control signals cnt and cr are φ and 1 , respectively is detected by the gates g6 to g8 , and the output from the enor gate or the external data y is selected by use of a selector constituted from the gates g3 to g5 . this circuit configuration further includes a nand gate g9 for outputting a generate signal associated with the carry lookahead function provided to minimize the propagation delay of the carry and an and gate g10 for generating a propagate signal similarly associated with the carry lookahead function . the logical expressions of the output signals z , p , and g from the control circuit 1 &# 39 ; are as listed in fig2 , where the carry lookahead signals p and g each are set to fixed values ( p = 0 , g = 1 ) if the external control signal cnt is φ . fig2 is the configuration of a four - bit operation memory utilizing four memory circuits for the embodiment . for simplification of explanation , only the sections primarily associated with the arithmetic operation mode are depicted in fig2 . the circuit diagram includes the memory circuits 11 - 14 shown in fig1 , gates g11 to g28 constituting a carry lookahead circuit for achieving a carry operation , and a register f for storing the result of a carry caused by an arithmetic operation . the memory circuits 11 and 14 are associated with the least - and most - significant bits , respectively . although not shown in this circuit configuration to simplify the circuit arrangement , the register f is connected to an external circuit which sets the content to φ or 1 . the logical expression of the carry result , namely , the output from the gate g29 is as follows . when the external control signal cnt is φ , pi and gi are set to 1 and φ , respectively ( where , i indicates an integer ranging from one to four ), and hence the logical expression includes only the signal cr , which means that the value of the register f is not changed by a write operation . since the intermediate carry signals gr2 to gr4 are also set to the value of the signal cr , three operation states are not changed by a write operation when the external control signal cnt is φ . if the external control signal cnt is 1 , the carry control signals p1 to p4 and g1 to g4 of the memory circuits 11 - 14 , respectively function as the carry lookahead signals , so an ordinary addition can be conducted . as shown in fig2 , although the control circuit has a small number of operation modes , the operation functions can be increased by selecting the logic value φ , the logic value 1 , the write data d to a microprocessor or the like , and the inverted data d of the write data d as the inputs of the external control signal cr and the external data y . fig2 a to 23c illustrate an example in which the above - mentioned circuits are combined . fig2 a is a specific representation of a circuit for the least - significant bit , whereas fig2 b is a table outlining the operation functions of the circuit of fig2 a . in the following paragraphs , the circuit operation will be described only in the arithmetic operation mode with the external control signal cnt set to 1 . gates g29 - g33 constitute a selector ( sel3 ) for the external control signal cr , while gates g34 - g37 configure a selector ( sel4 ) for the external data y . the circuit arrangement of fig2 a comprises select control signals sφ and s1 for selecting the external control signal cr and select control signals s2 and s3 for selecting the external data y . fig2 c depicts a circuit for the most - significant bit . this circuit is different from that of fig2 a in that the selector for the signal cr is constituted from the gates g38 - g44 so that a carry signal cri - 1 from the lower - order bit is inputted to the external control signal cr when the external control signal cnt is 1 . the selector for the external data y is of the same configuration of that of fig2 a . in the circuit configuration of fig2 c , the memory circuit arrangement enables to achieve 16 kinds of logical operations and six kinds of arithmetic operations by executing a memory write access . for example , the processing to overlap multivalued graphic data as shown in fig3 is carried out as follows . first , the select signals s0 to s3 are set to 0 , 0 , 0 , and 1 , respectively and the write data z is specified for an arithmetic operation of do plus 1 . a data item is read from the multivalued graphic data memory m2 and the obtained data item is written in the destination multivalued graphic data area m1 , which causes each data to be added and the multivalued graphic data items are overlapped at a higher speed . similarly , if the select signals sφ to s3 are set to 1 and the write data z is specified for a subtraction of do minus di , the unnecessary portion ( such as the noise ) of the multivalued graphic data can be deleted as depicted in fig2 . like the case of the overlap processing , this processing can be implemented only by executing a read operation on the data memory m3 containing the data from which the unnecessary portion is subtracted and by repeating a write operation thereafter on the destination data memory m3 &# 39 ;, which enables higher - speed graphic processing . ( 1 ) the multivalued graphic data processing is effected by repeating memory access two times , and hence the processing such as the graphic data overlap processing and subtraction can be achieved at a higher speed ; ( 2 ) since the data operation conducted between memory units is implemented on the memory side , the multivalued graphic processing can be implemented not only in a device such as a microprocessor which has an operation function but also in a device such as a direct memory access ( dma ) controller which has not an operation function ; and ( 3 ) the carry processing is conducted when a memory write access is executed by use of the circuit configuration as shown in fig2 , so the multiple - precision arithmetic operation can be implemented only by using a memory write operation , thereby enabling a multiple - precision arithmetic operation to be achieved at a higher speed . it is also possible to perform the dyadic operation and the arithmetic operation on graphic data at a higher speed . moreover , the priority processing to be utilized when graphic images overlap and processing for color data can be readily implemented . fig2 shows a frame buffer memory circuit including an operation unit ( lu ) 1 for implementing the modification functions for the read - modify - write operation , a data memory 2 , operational function specifying registers 23 and 24 for specifying an operational function of the operation unit , an operational function selector 25 for selecting an operational function , write mask registers 26 and 27 for holding write mask data , and a write mask selector 28 for selecting write mask data . symbol d denotes write data sent over the common bus , and symbol c denotes a selection signal for controlling the operational function selector 5 and write mask selector 28 . fig3 is a block diagram showing the application of the inventive frame buffer memory circuit 9 shown in fig2 to the multi - processor system , in which are included data processors 20 and 20 &# 39 ;, a common bus 21 and an address decoder 22 . the following describes , as an example , the operation of this embodiment . for clarification purposes , fig2 and 30 do not show the memory read data bus , memory block address decoder and read - modify - write control circuit , all of which are not essential for the explanation of this invention . in this embodiment , the memory circuit 9 is addressed from 800000h to 9fffffh . the memory circuit 9 itself has a 1m byte capacity in a physical sense , but it is addressed double in the range 800000h - 9fffffh to provide a virtual 2m byte address space . the method of double addressing is such that address 800000h and address 900000h contain the same byte data , and so on , and finally address 8fffffh and address 9fffffh contain the same byte data . accordingly , data read by the processor 20 at address 8xxxxxh is equal to data read at address 9xxxxxh , provided that the address section xxxxx is common . the reason for double addressing the memory circuit 9 beginning with address 800000h and address 900000h is to distinguish accesses by the data processors 20 and 20 &# 39 ;. namely , the data processor 20 is accessible to a 1m byte area starting with 800000h , while the processor 20 &# 39 ; is accessible to a 1m byte area starting with 900000h . the address decoder 22 serves to control the double addressing system , and it produces a &# 34 ; 0 &# 34 ; output in response to an address signal having an even ( 8h ) highest digit , while producing a &# 34 ; 1 &# 34 ; output in response to an address signal having an odd ( 9h ) highest digit . the operation unit 1 has a function set of 16 logical operations as listed in fig3 . in order to specify one of the 16 kinds of operations , the operation code data fc is formatted in 4 bits , and the operational function specifying registers 23 and 24 and operational function selector 25 are all arranged in 4 bits . since the memory 2 is of the 16 - bit word length , the write mask registers 26 and 27 and mask selector 28 also have 16 bits . next , the operation of the data processor 20 in fig3 in making write access to the frame buffer memory 9 will be described . the data processor 20 has a preset of function code f0 in the operational function specifying register 23 and mask data m0 in the write mask register 26 . when the data processor 20 makes write access to address 800000h , for example , the memory access operation takes place in the order of reading , modifying and writing in the timing relationship as shown in fig3 . in response to the output of address 800000h onto the address bus by the data processor 20 , the address decoder 22 produces a &# 34 ; 0 &# 34 ; output , the operational function selector 25 selects the operational function specifying register 23 , and the operation unit 1 receives f0 as operation code data fc . at this time , the write mask selector 28 selects the write mask register 26 , and it outputs m0 as we to the memory 2 . in fig3 , data in address 800000h is read out in the read period , which is subjected to calculation with write data d from the data processor 20 by the operation unit 1 in accordance with the calculation code data f0 in the modification period , and the result is written in accordance with data m0 in the write period . the write mask data inhibits writing at &# 34 ; 0 &# 34 ; and enables writing at &# 34 ; 1 &# 34 ;, and the data m0 is given value ffh for the usual write operation . when another data processor 20 &# 39 ; makes access to the frame buffer 9 , function code f1 is preset in the operational function specifying register 24 and mask data m1 is preset in the write mask register 27 . in order for the data processor 20 &# 39 ; to access the same data as one in address 800000h for the data processor 20 , it makes write access to address 900000h . the write access timing relationship for the data processor 20 &# 39 ; is similar to that shown in fig3 , but differs in that the output signal c of the address decoder 22 is &# 34 ; 1 &# 34 ; during the access , the function code for modification is f1 , and the write mask is m1 in this case . accordingly , by making the data processors 20 and 20 &# 39 ; access different addresses , the calculation and mask data can be different , and the operational functions need not be set at each time even when the processors implement different display operations as shown in fig2 . next , the arrangement of the frame buffer memory 9 and the method of setting the operational function according to this embodiment will be described . fig3 shows a typical arrangement of the frame buffer . conventionally , a memory has been constructed using a plurality of memory ic ( integrated circuit ) components with external accompaniments of an operation unit 1 , operational function specifying register 23 and write mask register 26 . the reason for the arrangement of the memory using a plurality of memory ic components is that the memory capacity is too large to be constructed by a single component . the memory is constructed divisionally , each division constituting 1 , 3 or 4 bits or the like of data words ( 16 - bit word in this embodiment ). for example , when each division forms a bit of data words , at least 16 memory ic components are used . for the same reason when it is intended to integrate the whole frame buffer shown in fig3 , it needs to be divided into several ic components . the following describes the method of this embodiment for setting the operational function and write mask data for the sliced memory structure . the setting method will be described on the assumption that a single operational function specifying register and write mask register are provided , since the plurality of these register sets is not significant for the explanation . currently used graphic display units are mostly arranged to have operational functions of logical bit operations , and therefore it is possible to divide the operation unit into bit groups of operation data . it is also possible in principle to divide the operation unit on a bit slicing basis also for the case of implementing arithmetic operations , through the additional provision of a carry control circuit . the write mask register 26 is a circuit controlling the write operation in bit units , and therefore it can obviously be divided into bit units . the operational function specifying register 23 stores a number in a word length determined from the type of operational function of the operation unit 1 , which is independent of the word length of operation data ( 16 bits in this embodiment ), and therefore it cannot be divided into bit groups of operation data . on this account , the operational function specifying register 23 needs to be provided for each divided bit group . although it seems inefficient to have the same functional circuit for each divided bit group , the number of elements used for the peripheral circuits is less than 1 % of the memory elements , and the yearly increasing circuit integration density makes this matter insignificant . however , in contrast to the case of slicing the operational function specifying register 23 into bit groups , partition of the frame buffer shown in fig3 into bit groups of data is questionable . the reason is that the operational function specifying register 23 is designed to receive data signals d15 - d0 . when the frame buffer is simply sliced into 1 - bit groups , the operational function specifying register 23 can receive 1 - bit data and it cannot receive a 4 - bit specification code listed in fig3 . if , on the other hand , it is designed to supply a necessary number of 1 - bit signals to the operational function specifying register 23 , the frame buffer must have terminals effective solely for the specification of operational functions , and this will result in an increased package size when the whole circuit is integrated . if it is designed to specify the operational function using the data bus , the number of operational functions becomes dependent on bit slicing of data , and to avoid this the frame memory of this embodiment is intended to specify operational functions using the address but which is independent of bit slicing . fig3 shows , as an example , the arrangement of the frame buffer memory which uses part of the address signals for specifying operational functions . symbol dj denotes a 1 - bit signal in the 16 - bit data signals to the graphic display data processor , a23 - a1 are address signals to the data processor , we is the write control signal to the data processor , fs is the data setting control signal for the operational function specifying register 3 and write mask register 26 , doj is a bit of data read out of the memory device 2 , dij is a bit of data produced by the operation unit 1 , and wj is the write control signal to the memory device 2 . fig3 shows , as an example , the arrangement of the write mask register , which includes a write mask data register 61 and a gate 62 for disabling the write control signal we . fig3 shows the arrangement of the frame buffer constructed by using the memory circuit shown in fig3 . the figure shows a 4 - bit arrangement for clarifying the connection to each memory circuit . fig3 shows the memory circuit of this embodiment applied to a graphic display system , with the intention of explaining the setting of the operation code . reference number 20 denotes a data processor , and 23 denotes a decoder for producing the set signal fs . the following describes the operation of the memory circuit . in this embodiment , an address range 800000h - 9fffffh is assigned to the memory circuit 9 . the decoder 23 produces the set signal fs in response to addresses a00000h - a0001fh . the operation unit 1 has the 16 operational functions as listed in fig3 . when the data processor 20 operates to write data f0ffh in address a00014h , for example , the decoder 23 produces the set signal fs to load the address bit signals a4 - a1 , i . e ., 0101b ( b signifies binary ), in the operational function specifying register 3 . consequently , the operation unit 2 selects the logical - sum operation in compliance with the table in fig3 . in the write mask register 26 , a bit of 16 - bit data 0f00h from the data processor 20 , the bit position being the same as the bit position of the memory device , is set in the write mask data register 61 . as a result , f0ffh is set as write mask data . next , the operation of the data processor 20 for writing f3ffh in address 800000h will be described . it is assumed that the address 800000h has the contents of 0512h in advance . fig3 shows the timing relationship of memory access by the data processor 10 . the write access to the memory circuit 9 by the data processor 20 is the read - modify - write operation as shown in fig3 . in the read period of this operation , data 0512h is read out onto the do bus , and the d bus receives f3ffh . in the subsequent modification period , the operation unit 1 implements the operation between data on the d bus and do bus and outputs the operation result onto the di bus . in this example , the d bus carries f3ffh and the do bus carries 0512h , and the di bus will have data f7ffh as a result of the logical - sum operation which has been selected for the operation unit 1 . finally , in the write period of the read - modify - write operation , data f7ffh on the di bus is written in the memory device . in this case , f0ffh has been set as write mask data by the aforementioned setting operation , and a &# 34 ; 0 &# 34 ; bit of mask data enables the gate 62 , while &# 34 ; 1 &# 34 ; bit disables the gate 62 as shown in fig3 , causing only 4 bits ( d11 - d8 ) to undergo the actual write operation , with the remaining 12 bits being left out of the write operation . consequently , data in address 800000h is altered to 0712h . the foregoing embodiment of this invention provides the following effectiveness . owing to the provision of the operation specifying registers 23 and 24 and the write mask registers 26 and 27 in correspondence to the data processors 20 and 20 &# 39 ;, specification of a modification function for the read - modify - write operation and mask write specification are done for each data processor even in the case of write access to the frame buffer memory 9 by the data processors 20 and 20 &# 39 ; asynchronously and independently , which eliminates the need for arbitration control between the data processors , whereby both processors can implement display processings without interference from each other except for an access delay caused by conflicting accesses to the frame buffer memory 9 . the above embodiment is a frame buffer memory for a graphic display system , and the data processors 20 and 20 &# 39 ; mainly perform the coordinate calculations for pixels . the two data processors can share in the coordinate calculation and other processes in case they consume too much time , thereby reducing the processing time and thus minimizing the display wait time . for the case of a time - consuming frame buffer write processing , the use of the read - modify - write operation reduces the frequency of memory access , whereby a high - speed graphic display system operative with a minimal display wait time can be realized . the above embodiment uses part of the address signal for the control signal , and in consequence a memory circuit operative in read - modify - write mode with the ability of specifying the operational function independent of data slicing methods can be realized . on this account , when all functional blocks are integrated in a circuit component , the arrangement of the memory section can be determined independently of the read - modify - write function . although in the foregoing embodiment two data processors are used , it is needless to say that a system including three or more data processors can be constructed in the same principle . the present invention is obviously applicable to a system in which a single data processor initiates several tasks and separate addresses are assigned to the individual tasks for implementing parallel display processings . the memory circuit of the above embodiment differs from the usual memory ic component in that the set signal fs for setting the operational function and write mask data and the signal c for selecting an operational function and write mask are involved . these signals may be provided from outside at the expense of two additional ic pins as compared with the usual memory device , or may be substituted by the aforementioned signals by utilization of the memory access timing relationship for the purpose of minimizing the package size . fig3 shows the memory access timing relationship for the latter method , in which a timing unused in the operation of a usual dynamic ram is used to distinguish processors ( the falling edge of ras causes the we signal to go low ) and to set the operation code and write mask data ( the rising edge of ras causes cas and we signals to go low ), thereby producing the fs and c signals equivalently . although in the above embodiment a 16 - bit data word is sliced into 1 - bit groups , these values can obviously be altered . although in the above embodiment the operational function and write mask are specified concurrently , they may be specified separately . it is obvious that the word length for operational function specification may be other than 4 bits . the above embodiment can also be applied to a memory with a serial output port by incorporating a shift register . according to the above embodiments , the coordinate calculation process in the display process is shared by a plurality of processors so that the calculation time is reduced , and the frame buffer memory operative in a read - modify - write mode can be shared among the processors without the need of arbitration control so that the number of memory accesses is reduced , whereby a high - speed graphic display system can be constructed . moreover , the modification operation for the read - modify - write operation is specified independently of the word length of write data , and this realizes a memory circuit incorporating a circuit which implements the read - modify - write operation in arbitrary word lengths , whereby a frame buffer used in a high - speed graphic display system , for example , can be made compact .