text
stringlengths
1
1.05M
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "WmfMediaPrivatePCH.h" #include "AllowWindowsPlatformTypes.h" #define LOCTEXT_NAMESPACE "FWmfMediaTrack" /* FWmfMediaTrack structors *****************************************************************************/ FWmfMediaTrack::FWmfMediaTrack(...
; int wv_stack_reserve(wv_stack_t *s, size_t n) SECTION code_clib SECTION code_adt_wv_stack PUBLIC wv_stack_reserve EXTERN w_vector_reserve defc wv_stack_reserve = w_vector_reserve ; SDCC bridge for Classic IF __CLASSIC PUBLIC _wv_stack_reserve defc _wv_stack_reserve = wv_stack_reserve ENDIF
// // Copyright (C) 2011-15 DyND Developers // BSD 2-Clause License, see LICENSE.txt // #pragma once #include <dynd/callable.hpp> namespace dynd { namespace nd { namespace functional { /** * Adds an adapter ckernel which wraps a child binary expr ckernel * as a unary reduction ckernel. The three typ...
CPU 386 BITS 32 segment .text use32 %include "rtl.inc" %include "console.inc" %include "ui.inc" extern GetLastError import GetLastError kernel32.dll run: ..start: push ebp mov ebp, esp call InitRTL call InitUI ; BOOL WINAPI WriteConsoleA( HANDLE hConsoleOutput, ; const VOI...
; A236364: Sum of all the middle parts in the partitions of 3n into 3 parts. ; 1,5,18,40,80,135,217,320,459,625,836,1080,1378,1715,2115,2560,3077,3645,4294,5000,5796,6655,7613,8640,9775,10985,12312,13720,15254,16875,18631,20480,22473,24565,26810,29160,31672,34295,37089,40000,43091,46305,49708,53240,56970,60835,64907,69...
; ; ; Copyright (c) 2018 by blindtiger. All rights reserved. ; ; The contents of this file are subject to the Mozilla Public License Version ; 2.0 (the "License"); you may not use this file except in compliance with ; the License. You may obtain a copy of the License at ; http://www.mozilla.org/MPL/ ; ; Softwa...
10 ORG 100H 20 JP MAIN 30RPTCHR EQU 0BFEEH 40GPF EQU 0BFD0H 50AOUT EQU 0BD09H 60PUTSTR EQU 0BFF1H 70WAITK EQU 0BFCDH 80LDPSTR EQU 0BD00H 100MAIN: CALL CLS 110 LD DE, 0008H 120 LD (POSXY), DE 130 LD HL, LBLMN 140 CALL STRLN 150 LD A,B 160 LD (LNSTR),A 170 CALL DSPLBL 180 LD DE,0500H 190 LD (POSXY), DE 200 LD HL,FN0 21...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x19e88, %rax nop nop and %r9, %r9 mov (%rax), %r8w nop xor %r15, %r15 lea addresses_D_ht+0x1e658, %rsi lea addresses_WC_ht+0x1d268, %rdi nop nop nop nop nop add %r8, %r8 mov $7, %rcx rep...
PUBLIC M_NumInput DataSeg SEGMENT PUBLIC Num DB 13,10,'Sucess',13,10,'$' Ent DB '>> ','$' DataSeg ENDS CodeSeg SEGMENT PUBLIC ASSUME CS:CodeSeg M_NumInput PROC NEAR PUSH BX PUSH DX PUSH SI MOV AX,0 MOV BX,0 MOV AH,9 MOV DX,OFFSET Ent INT 21h MOV DX,0 InputLoop: M...
/* * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
#include "ball.h" #include "config.h" #include <QBrush> #include <QTimer> #include <QList> Ball::Ball() { setRect(0, 0, m_width, m_height); setBrush((QBrush)Qt::green); QTimer *timer = new QTimer(); connect(timer, SIGNAL(timeout()), this, SLOT(move())); timer->start(50); dx = -1; dy = -1; ...
; SMSQmulator Mmuse Routine V1.01 (c) W. Lenerz 2012 ; 1.01 handles mouse wheel ; this is called from the polling interrupt ; mouse button 1 (left) = 1 ; mouse button 2 (right) = 2 ; both left & right = 3 ; middle button = 4 section mouse xdef mse_poll xref pt_button3 xref ioq_pbyt include 'dev8_keys_con' i...
; =============================================================== ; Jan 2014 ; =============================================================== ; ; int _strtoi(const char *nptr, char **endptr, int base) ; ; Read number encoded in given radix from string; if base == 0, ; radix is auto-detected as decimal, octal or hex....
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
/*========================================================================= Program: Visualization Toolkit Module: vtkExodusIIReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwar...
; A250759: Number of (4+1) X (n+1) 0..2 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing x(i,j)+x(i-1,j) in the j direction. ; 1029,2361,4239,6663,9633,13149,17211,21819,26973,32673,38919,45711,53049,60933,69363,78339,87861,97929,108543,119703,131409,143661,156459,169803,183693,198129,2131...
// // Copyright (c) 2008-2017 the Urho3D project. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
/* Copyright (C) 2006, 2007 Sony Computer Entertainment Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright noti...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // This test only works with the GPU backend. #include "gm.h" #include "sk_tool_utils.h" #include "GrContext.h" #include "GrRenderTargetContextPriv.h" #include "SkGr.h" #inc...
; A164607: a(n) = 4*a(n-1) + 4*a(n-2) for n > 1; a(0) = 1, a(1) = 10. ; 1,10,44,216,1040,5024,24256,117120,565504,2730496,13184000,63657984,307367936,1484103680,7165886464,34599960576,167063388160,806653394944,3894867132416,18806082109440,90803796967424,438439516307456,2116973253099520,10221651077627904,493544973229096...
; A172049: Irregular triangle T(n,k) = 2k-1 with A008794(n+2) values in row n. ; Submitted by Jon Maiga ; 1,1,1,3,5,7,1,3,5,7,1,3,5,7,9,11,13,15,17,1,3,5,7,9,11,13,15,17,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43 mo...
; A020333: Numbers whose base-5 representation is the juxtaposition of two identical strings. ; 6,12,18,24,130,156,182,208,234,260,286,312,338,364,390,416,442,468,494,520,546,572,598,624,3150,3276,3402,3528,3654,3780,3906,4032,4158,4284,4410,4536,4662,4788,4914,5040,5166,5292,5418,5544,5670,5796,5922,6048,6174,6300,642...
; A107963: a(n) = (n+1)*(n+2)*(n+3)*(n+4)*(5*n^2 + 19*n + 15)/360. ; 1,13,73,273,798,1974,4326,8646,16071,28171,47047,75439,116844,175644,257244,368220,516477,711417,964117,1287517,1696618,2208690,2843490,3623490,4574115,5723991,7105203,8753563,10708888,13015288,15721464,18881016,22552761,26801061,31696161,37314537,437...
; =============================================================== ; Feb 2016 by Einar Saukas ; "Standard" version (70 bytes) - BACKWARDS VARIANT ; =============================================================== ; ; void dzx7_standard_back(void *src, void *dst) ; ; Decompress backwards the compressed block at last addr...
ORG 100h lea dx, [msg] mov ah,9 int 21h mov ax, 4c00h int 21h msg: DB 'HELLO WORLD$'
// MIT Licensed (see LICENSE.md). #pragma once namespace Plasma { class Collider; class JointSpring; class PhysicsSpace; namespace Physics { /// A weld joint is used to lock the position and orientation of two objects /// together. Welds should generally not be used to make two objects rigid as /// they are computa...
;;============================================================================ ;; MCKL/lib/asm/philox_bmi2_4x64.asm ;;---------------------------------------------------------------------------- ;; MCKL: Monte Carlo Kernel Library ;;---------------------------------------------------------------------------- ;; Copyrig...
; ; BASIC-DOS Sleep Tests ; ; @author Jeff Parsons <Jeff@pcjs.org> ; @copyright (c) 2020-2021 Jeff Parsons ; @license MIT <https://basicdos.com/LICENSE.txt> ; ; This file is part of PCjs, a computer emulation software project at pcjs.org ; include macros.inc include dosapi.inc CODE SEGMENT org 100...
/** @file ***************************************************************************** Implementation of interfaces for the (extension) field Fp4. See fp4.hpp . ***************************************************************************** * @author This file is part of libsnark, developed by SCIPR Lab * ...
// Copyright (c) 2012-2013 The Bitcoin Core developers // Copyright (c) 2017-2019 The COVID19 developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "random.h" #include "scheduler.h" #if defined(HAVE_CONFIG_H) #incl...
; A label defining the start of ROM so we can compute the total size. ROM_Start: ;************************************************************** ; CPU VECTOR TABLE ;************************************************************** ; A table of addresses that the CPU needs to know about - ; things like stack address, "mai...
; A040702: Continued fraction for sqrt(730). ; 27,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54 pow $1,$0 gcd $1,2 mul $1,27 mov $0,$1
/* * VolumetricDataCall.cpp * * Copyright (C) 2014 by Visualisierungsinstitut der Universität Stuttgart. * Alle rechte vorbehalten. */ #include "geometry_calls/VolumetricDataCall.h" #include <utility> #include "vislib/OutOfRangeException.h" #include "mmcore/utility/log/Log.h" #define STATIC_ARRAY_COUNT(ary) ...
/* Copyright (C) 2017 Beijing Didi Infinity Technology and Development Co.,Ltd. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
; __timeshit ; First Stage (Real Mode) && Second Stage (Protected mode) Bootloader ; ; No license and Warranty - Use at your own risk after studying the code below. ; ; Have a great day, ; Krishna BITS 16 ORG 0x7c00 ; Our code will be loaded here jmp _start ;******************************************* ; Global Des...
;; ;; Copyright (c) 2020-2021, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
; This Source Code Form is subject to the terms of the MIT ; hLicense. If a copy of the MPL was not distributed with ; this file, You can obtain one at https://github.com/aws/mit-0 TR_DOS PUSH HL PUSH DE PUSH BC CALL TRDOS POP BC POP DE POP HL LD A,(23823) ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistributions of so...
; int rand(void) SECTION code_clib SECTION code_stdlib PUBLIC rand EXTERN asm_rand defc rand = asm_rand ; SDCC bridge for Classic IF __CLASSIC PUBLIC _rand defc _rand = rand ENDIF
#include "cloud_registration.h" #include <gr/algorithms/FunctorSuper4pcs.h> #include <gr/utils/geometry.h> #include <gr/accelerators/utils.h> #include <gr/algorithms/PointPairFilter.h> cloud_registration::cloud_registration() { } cloud_registration::~cloud_registration() { } void cloud_registration::coarse_registr...
.386 STACK SEGMENT USE16 STACK DB 300 DUP(0) STACK ENDS DATA SEGMENT USE16 N EQU 30 POIN DW 0 BUF DB 'zhangsan', 0, 0 DB 0, 0, 0, ? DB 'lisi', 6 DUP(0) DB 80, 100, 70, ? DB 'B',0,0,0,0,0,0,0,0,0 DB 10, 20, 12, ? DB N-4 DUP('TempValue',0, 80, 90, 95, ?) DB 'xinjie', 0, ...
;============================================================================== ; File name : DLOG4CHC.ASM ; ; Originator : Advanced Embeeded Control (AEC) ; Texas Instruments Inc. ; ; Description : 4-Channel Data logging module ; ; Date : 02/01/2002 (DD/MM/YYYY) ;=====================...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: tlSmallStorage.asm AUTHOR: John Wedgwood, Dec 26, 1991 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date...
SFX_Dex_Page_Added_Ch4: duty 2 unknownsfx0x10 68 unknownsfx0x20 15, 240, 240, 4 unknownsfx0x10 23 unknownsfx0x20 15, 242, 80, 6 unknownsfx0x10 8 endchannel SFX_Dex_Page_Added_Ch5: duty 2 unknownsfx0x20 15, 146, 0, 6 unknownsfx0x20 15, 146, 130, 7 endchannel
; A037157: Convolution of natural numbers n >= 1 with Fibonacci numbers F(k), for k >= 6. ; 8,29,71,147,278,498,862,1459,2433,4017,6588,10756,17508,28441,46139,74783,121138,196150,317530,513935,831733,1345949,2177976,3524232,5702528,9227093,14929967,24157419,39087758,63245562,102333718,165579691,267913833,433493961,701...
; A034785: a(n) = 2^(n-th prime). ; 4,8,32,128,2048,8192,131072,524288,8388608,536870912,2147483648,137438953472,2199023255552,8796093022208,140737488355328,9007199254740992,576460752303423488,2305843009213693952,147573952589676412928,2361183241434822606848,9444732965739290427392,604462909807314587353088,96714065569170...
#ifndef LOG_HPP #define LOG_HPP #include "engine/ilogengine.hpp" #include <string> #include <string_view> #include <mutex> #include "fmt/format.h" #include "fmt/color.h" #include "color.hpp" class Log { static ILogEngine *s_pLogEngine; static std::mutex rainbowMutex; static fmt::color GetRainbowColor() { st...
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
; A037637: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3. ; Submitted by Christian Krause ; 2,19,174,1568,14113,127020,1143182,10288639,92597754,833379788,7500418093,67503762840,607533865562,5467804790059,49210243110534,442892187994808,3986029691953273 mov $2,1 lpb $...
; A089767: Squares which when concatenated with a 1 gives prime. ; Submitted by Jamie Morken(w4) ; 1,4,25,49,64,81,225,400,676,784,900,1089,1225,1369,1600,1681,2209,2304,3249,3364,4096,5041,6889,7225,7396,8100,8281,8649,9801,10816,11025,11236,12100,12544,12769,13924,15876,16384,17424,19881,21609,21904,22201,23104,23716...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x527b, %rdi nop nop and %rdx, %rdx movb $0x61, (%rdi) mfence lea addresses_D_ht+0x383b, %r14 lfence mov $0x6162636465666768, %rdx movq %rdx, (%r14) nop dec %r13 lea addresses_W...
DEVICE NONE ; set "none" explicitly, to avoid "global device" feature CSPECTMAP ; error about non-device mode DEVICE ZXSPECTRUMNEXT : SLOT 6 CSPECTMAP "cspectmap.sym" ; default-name variant is tested only manually ; CSPECTMAP ; default-name...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; ==++== ;; ;; ;; ==--== #include "ksarm64.h" #include "asmconstants.h" #include "asmmacros.h" IMPORT VarargPInvokeStubWorker IMPORT GenericPInvokeCalliStubWorker IMPO...
%include "/usr/local/share/csc314/asm_io.inc" ; the file that stores the initial state %define BOARD_FILE 'board.txt' %define TEMPLE 'temple.txt' %define MART 'mart.txt' %define LOTTO 'lotto.txt' %define MOUNTAIN 'mountain.txt' ; how to represent everything %define WALL_CHAR '#' %define WORLD_WALL0 '/' %define WORLD...
#include<stdio.h> char x[] = "programming"; char y[] = "Fortran"; void main() { int i = 0l; while (x[i] != '\0' && y[i] != '\0') { if (x[i] == y[i]) { printf("%c", x[i]); break; } else i++; } }
/** * Copyright (C) Mellanox Technologies Ltd. 2001-2016. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #include <common/test.h> extern "C" { #include <ucs/arch/atomic.h> #include <ucs/sys/math.h> #include <ucs/stats/stats.h> #include <ucs/sys/rcache.h> #include <ucs/sys/rcache_int.h> #include <ucs/sys/...
/* * Copyright (c) 2017, Arm Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
; This Source Code Form is subject to the terms of the MIT ; hLicense. If a copy of the MPL was not distributed with ; this file, You can obtain one at https://github.com/aws/mit-0 ORG #6000+#8E00 INCLUDE "BORDER" INCLUDE "$FADE0" DI LD HL,TEST LD DE,#4000 LD B...
lda {c1},x cmp {m1} lda {c1}+1,x sbc {m1}+1 bvc !+ eor #$80 !: bpl {la1}
MODULE m5_crt0 defc crt0 = 1 INCLUDE "zcc_opt.def" EXTERN _main PUBLIC cleanup PUBLIC l_dcal PUBLIC msxbios ; Always use the generic console unless overridden defc TAR__fputc_cons_generic = 1 defc CONSOLE_COLUMNS = 32 d...
*= $0801 .byte $4c,$16,$08,$00,$97,$32 .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$30,$00,$00,$00,$a9 .byte $01,$85,$02 jsr print .byte 13 .text "(up)sbcay" .byte 0 lda #%00011011 sta db lda #%11000110 s...
; A052923: Expansion of (1-x)/(1 - x - 4*x^2). ; 1,0,4,4,20,36,116,260,724,1764,4660,11716,30356,77220,198644,507524,1302100,3332196,8540596,21869380,56031764,143509284,367636340,941673476,2412218836,6178912740,15827788084,40543439044,103854591380,266028347556,681446713076,1745560103300,4471346955604,11453587368804,293...
; A019771: Decimal expansion of 2*e/19. ; 2,8,6,1,3,4,9,2,9,3,1,1,4,7,8,4,4,5,8,2,7,3,9,8,6,8,1,1,9,5,0,1,7,1,0,5,0,2,7,0,7,8,6,4,1,4,4,2,1,0,1,0,0,7,8,9,1,2,5,9,7,5,0,2,8,6,7,4,4,9,0,8,4,5,8,2,6,8,1,6,7,8,4,9,6,1,9,1,7,6,6,8,6,8,5,9,6,2,3,9 add $0,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $2,$3 add $1,$2 cmp $4,...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/supervised_user/supervised_user_pref_store.h" #include <memory> #include <utility> #include <vector> #include "base/bind.h" #in...
;------------------------------------------------------------------------------ ; @file ; A minimal Int10h stub that allows the Windows 2008 R2 SP1 UEFI guest's buggy, ; default VGA driver to switch to 1024x768x32, on the stdvga and QXL video ; cards of QEMU. ; ; Copyright (C) 2014, Red Hat, Inc. ; Copyright (c)...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r15 push %r8 push %rcx push %rdi // Store lea addresses_WT+0x701e, %rdi nop cmp $24247, %r14 mov $0x5152535455565758, %r10 movq %r10, %xmm3 movups %xmm3, (%rdi) nop nop nop and $54852, %r12 /...
// This file is licensed under the Elastic License 2.0. Copyright 2021 StarRocks Limited. #include "storage/vectorized/compaction.h" #include <utility> #include "gutil/strings/substitute.h" #include "runtime/current_thread.h" #include "runtime/exec_env.h" #include "storage/rowset/rowset_factory.h" #include "storage/...
; SHROM: 32KB PRG-ROM + 128KB CHR-ROM ; http://bootgod.dyndns.org:7777/search.php?keywords=SHROM&kwtype=pcb ; [SH1ROM has a nonstandard pinout, but that doesn't matter for iNES headers.] ;------------------------------------------------------------------------------; ; MMC1 mirroring is mapper controlled. This just set...
; A010874: a(n) = n mod 5. ; 0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0...
[bits 32] ; 中断处理函数入口 extern handler_table section .text %macro INTERRUPT_HANDLER 2 interrupt_handler_%1: xchg bx, bx %ifn %2 push 0x20222202 %endif push %1; 压入中断向量,跳转到中断入口 jmp interrupt_entry %endmacro interrupt_entry: ; 保存上文寄存器信息 push ds push es push fs push gs pusha ...
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
PUBLIC zx_rowtab INCLUDE "graphics/grafix.inc" ; ; $Id: rowtab.asm,v 1.2 2015/11/05 16:08:04 stefano Exp $ ; ; Screen row addresses table ; by Enrico Maria Giordano .zx_rowtab DEFW 4000H DEFW 4100H DEFW 4200H DEFW 4300H DEFW 4400H DEFW 4500H DEFW 4600H DEFW 4700H DEFW 4020H...
#include "generator/geo_objects/geo_objects_generator.hpp" #include "base/logging.hpp" #include "base/scope_guard.hpp" #include "base/timer.hpp" #include <future> namespace { template <class Activist> auto Measure(std::string activity, Activist && activist) { LOG(LINFO, ("Start", activity)); auto timer = base::T...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %r9 push %rax push %rbx push %rdx lea addresses_WC_ht+0x1e09c, %rax clflush (%rax) nop nop nop inc %r8 movb $0x61, (%rax) nop nop add $24940, %r11 lea addresses_WT_ht+0x1d6b8, %rax nop nop nop nop nop and $26411, %r15 movw $0x6162, (%rax) cm...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1bc8a, %rsi lea addresses_normal_ht+0x8e0a, %rdi nop nop nop dec %r12 mov $33, %rcx rep movsb nop nop nop and $43640, %r8 lea addresses_UC_ht+0x3a16, %rsi lea addresses_WC_ht+...
; A133494: Diagonal of the array of iterated differences of A047848. ; 1,1,3,9,27,81,243,729,2187,6561,19683,59049,177147,531441,1594323,4782969,14348907,43046721,129140163,387420489,1162261467,3486784401,10460353203,31381059609,94143178827,282429536481,847288609443,2541865828329,7625597484987 trn $0,1 mov $1,3 pow $1...
#importonce #import "./u_failure.asm" #import "./macros.asm" #import "./zeropage_map.asm" #import "./mem_map.asm" #import "./data.asm" #import "./main_loop.asm" * = * "zero page test" /////// ZERO PAGE TEST zeroPageTest: { ldx #$08 !: lda strZero,x // Print Zero Page Strin...
.model small Add02 MACRO Term1, Term2, Sum mov ax, Term1 add ax, Term2 mov Sum, ax ENDM exit_dos MACRO mov ax,4C00h int 21h endm .stack 10h .data T1 dw 5 T2 dw 6 S dw ? .code start: mov ax, @data mov ds, ax Add02 T1, T2, S exit_dos end start
# ORG 8000 MVI A,55 MVI C,00 MVI B,08 NXTBIT: RLC JNC SKIPINR INR C SKIPINR: DCR B JNZ NXTBIT HLT
!to "build/basic-interrupts.bin" ;;;;;;;;;;;;;;;; ;;;; Offset ;;;; ;;;;;;;;;;;;;;;; *=$8000 ;;;;;;;;;;;;;; ;;;; Data ;;;; ;;;;;;;;;;;;;; year_1: !word 1955 year_2 !word 1956 year_3 !word 1982 ;;;;;;;;;;;;;;;;;;; ;;;; Variables ;;;; ;;;;;;;;;;;;;;;;;;; PORTB = $6000 PORTA = $6001 DDRB = $6002 DDRA = $6003 E ...
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif %ifidn __OUTPUT_FORMAT__,obj section code use32 class=code align=64 %elifidn __OUTPUT_FORMAT__,win32 $@feat.00 equ 1 section .text...
.8086 .model small .stack 100h .data num1 db 03h num2 db 05h result db ? ; Store Result here .code start: mov ax, @data mov ds, ax mov ah, 00h mov al, num1 add al, num2 ; Stores result in al itself mov result, al mov ah, 4ch int 21h ; End Program end start
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; CMOVLE16rr mov ax, 0x2 mov bx, 0x4 ;TEST_BEGIN_RECORDING cmovle ax, bx ;TEST_END_RECORDING
; ; Z88 Graphics Functions - Small C+ stubs ; Written around the Interlogic Standard Library ; Stubs Written by D Morris - 30/9/98 ; ; $Id: xorclga.asm $ ; ;Usage: xorclga(struct *pixels) SECTION code_graphics PUBLIC xorclga PUBLIC _xorclga EXTERN xorclga_callee EXTER...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: PostScript Printer Driver FILE: pscriptControlCodes.def AUTHOR: Dave Durran REVISION HISTORY: Name Date Description ---- ---- ---...
/* * Lightweight URL & URI parser (RFC 1738, RFC 3986) * https://github.com/corporateshark/LUrlParser * * The MIT License (MIT) * * Copyright (C) 2015 Sergey Kosarevsky (sk@linderdaum.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docu...
// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_LINEARELLIPTIC_PROBLEMS_THERMALBLOCK_HH #define DUNE_HDD_LINEARELLIPTIC_PROBLEMS_THERM...
TITLE doslib - DOS access library routines ; Windows Write, Copyright 1985-1992 Microsoft Corporation ; ===================================================================== ; This file contains DOS access routines. ; These routines are general, simple calls to DOS and ; are likely to be generall...
; A169506: Number of reduced words of length n in Coxeter group on 13 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I. ; 1,13,156,1872,22464,269568,3234816,38817792,465813504,5589762048,67077144576,804925734912,9659108818944,115909305827328,1390911669927936,16690940039135232,200291280469622784 add $0,1 mov $3...
; A158554: a(n) = 28*n^2 - 1. ; 27,111,251,447,699,1007,1371,1791,2267,2799,3387,4031,4731,5487,6299,7167,8091,9071,10107,11199,12347,13551,14811,16127,17499,18927,20411,21951,23547,25199,26907,28671,30491,32367,34299,36287,38331,40431,42587,44799,47067,49391,51771,54207,56699,59247,61851,64511,67227,69999,72827,75711,...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: unplot.asm $ ; ; CALLER LINKAGE FOR FUNCTION POINTERS ; ----- void unplot(int x, int y) SECTION code_graphics PUBLIC unplot PUBLIC _unpl...
//===-- SystemZMCInstLower.cpp - Lower MachineInstr to MCInst -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
;------------------------------------------------------------------------------ ;* ;* Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> ;* This program and the accompanying materials ;* are licensed and made available under the terms and conditions of the BSD License...
; ; Z88dk Z88 Maths Library ; ; ; $Id: stkequcmp.asm,v 1.1 2008/07/27 21:44:58 aralbrec Exp $ XLIB stkequcmp .stkequcmp pop de ;return address pop bc ;dump number.. pop bc pop bc push de ;put it back ld a,h o...
// Copyright 2011 - 2018 Frederic Requin // // The J68 microcode /////////////////////////////////////// // 0100.111001.110000 : RESET opcode // /////////////////////////////////////// Op_RESET: NOP LIT #$0000 LOOP16 // Loop 16 times WRW RH[CNT] // Clear reg...
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 53 ...
; ---------------------------------------------------------------------------- ; nasm -g -felf64 call-stack-rsp.asm && gcc call-stack-rsp.o puts.c -o rsp.out && ./rsp.out ; print fb(1) ; print a(x)+5 ; x+3 ; ---------------------------------------------------------------------------- global ma...
; ******************************************************* ; * * ; * Delphi Runtime Library * ; * * ; * Copyright (c) 1996,98 Inprise Corporation * ; * * ; ******************************************************* INCLUDE SE.ASM INCLUDE FILEIO.ASM .386 .MODEL FLAT E...
dnl HP-PA 2.0 64-bit mpn_submul_1 -- Multiply a limb vector with a limb and dnl subtract the result from a second limb vector. dnl Copyright 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it a...