text
stringlengths
1
1.05M
je _correct_flag _err_length: ; generated by python mov dword [esp + 0], 0x6e6f7257 mov dword [esp + 4], 0x656c2067 mov dword [esp + 8], 0x7468676e mov dword [esp + 12], 0x00000a21 mov eax, 0x4 mov ebx, 0x2 mov ecx, esp mov edx, 14 int 0x80 ...
; uchar __FASTCALL__ *zx_py2aaddr(uchar ycoord) ; aralbrec 06.2007 SECTION code_clib PUBLIC zx_py2aaddr PUBLIC _zx_py2aaddr EXTERN HRG_LineStart .zx_py2aaddr ._zx_py2aaddr ld a,l rra rra rra and $1f ld b,a IF FORlambda ld hl,8319 ELSE ld hl,HRG_LineStart+2+32768 ENDIF jr z,zrow IF FORlambd...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xe2dd, %rsi lea addresses_UC_ht+0x1cabd, %rdi clflush (%rdi) nop nop nop cmp $45323, %rdx mov $23, %rcx rep movsb nop dec %rax lea addresses_WC_ht+0x52cd, %r12 xor %rbx, %rbx movup...
;; ;; Copyright (c) 2012-2020, 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...
/* Operators such as >> , which read input from the keyboard, must be able to convert a series of digits into a number. Write a program that does the same thing. It should allow the user to type up to six digits, and then display the resulting number as a type long integer. The digits should be read individually, as ch...
# Test string # pushs "Hello" halt
#include <vtkActor.h> #include <vtkCamera.h> #include <vtkInteractorStyleTrackballCamera.h> #include <vtkLinearExtrusionFilter.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkPoints.h> #include <vtkPolyDataMapper.h> #include <vtkPolyLine.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include ...
_echo: 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: 57 push %edi 4: 56 push %es...
; A027024: a(n) = T(n,n+2), T given by A027023. ; 1,5,13,27,53,101,189,351,649,1197,2205,4059,7469,13741,25277,46495,85521,157301,289325,532155,978789,1800277,3311229,6090303,11201817,20603357,37895485,69700667,128199517,235795677,433695869,797691071,1467182625,2698569573,4963443277,9129195483,16791208341,30883847109,5...
//----------------------------------------------------------------------------- // boost mpl/aux_/ice_cast.hpp header file // See http://www.boost.org for updates, documentation, and revision history. //----------------------------------------------------------------------------- // // Copyright (c) 2001-03 // Aleksey ...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>msgsnd(msqid, msgp, msgsz, msgflg) -> str Invokes the syscall msgsnd. See 'man 2 msgsnd' for more information. Arguments: msqid(int): msqid msgp(void*): msgp msgsz(size_t): msgsz msgflg(...
;------------------------------------------------------------------------------- ; HL_sys_mpu.asm ; ; Copyright (C) 2009-2015 Texas Instruments Incorporated - www.ti.com ; ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions...
; A276134: a(5n) = a(n), a(5n+1) = a(5n+2) = a(5n+3) = a(5n+4) = a(n) + 1, a(0) = 0. ; 0,1,1,1,1,1,2,2,2,2,1,2,2,2,2,1,2,2,2,2,1,2,2,2,2,1,2,2,2,2,2,3,3,3,3,2,3,3,3,3,2,3,3,3,3,2,3,3,3,3,1,2,2,2,2,2,3,3,3,3,2,3,3,3,3,2,3,3,3,3,2,3,3,3,3,1,2,2,2,2,2,3,3,3,3,2,3,3,3,3,2,3,3,3,3,2,3,3,3,3,1,2,2,2,2,2,3,3,3,3,2,3,3,3,3,2,3...
; A203292: Number of arrays of 4 nondecreasing integers in -n..n with sum zero and equal numbers greater than zero and less than zero. ; 3,6,12,21,35,54,80,113,155,206,268,341,427,526,640,769,915,1078,1260,1461,1683,1926,2192,2481,2795,3134,3500,3893,4315,4766,5248,5761,6307,6886,7500,8149,8835,9558,10320,11121,11963,1...
; ===== Makefile Headers ===== ; MBC 0x00 ; RAM 0x00 INCLUDE "hardware.inc" SECTION "Header", ROM0[0] ds $100 - @ SECTION "Test", ROM0[$100] EntryPoint:: jr Main ds $150 - @ ;---------------------------------------------------------------------------- ; This Test ROM simply loads a few basic tiles and arra...
#include <check.h> #include <stdint.h> #include "util/statistics.h" using openxc::util::statistics::Statistic; using openxc::util::statistics::DeltaStatistic; namespace statistics = openxc::util::statistics; void setup() { } void teardown() { } START_TEST (test_update_sets_min) { Statistic stat; statistic...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
.data .globl main .globl inputString .globl outputString .globl Print_string .globl Read_string .globl Write_ch .globl Read_ch .globl kefalaia inputString: .asciiz "\ndwse String: " outputString: .asciiz "\napotelesma: " string: .align 1 .space 100 .text main: la $a0, inputString jal Print_string jal Read_string la...
Route16FlyHouse_Object: db $a ; border block db 2 ; warps warp 2, 7, 8, -1 warp 3, 7, 8, -1 db 0 ; signs db 2 ; objects object SPRITE_BRUNETTE_GIRL, 2, 3, STAY, RIGHT, 1 ; person object SPRITE_BIRD, 6, 4, WALK, 0, 2 ; person ; warp-to warp_to 2, 7, ROUTE_16_FLY_HOUSE_WIDTH warp_to 3, 7, ROUTE_16_FLY_HOUS...
/* * * Copyright (c) 2014-2017 Nest Labs, Inc. * 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...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld b, 91 call lwaitly_b ld a, b1 ldff(40), a ld a, 0f ldff(4b), a ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a xor a, a ldff(0f), a l...
// Copyright (c) 2014-2019, The Monero Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of /...
; int getc_fastcall(FILE *stream) INCLUDE "config_private.inc" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _getc_fastcall EXTERN _fgetc_fastcall defc _getc_fastcall = _fgetc_fastcall ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; E...
/* Copyright 2015 The TensorFlow Authors. 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 Unless required by applicable law or a...
; i386 C RunTime Library i, crti.asm [bits 32] [section .init] global _init _init: sub esp, 12 [bits 32] [section .fini] global _fini _fini: sub esp, 12
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x18230, %r10 add %r11, %r11 mov (%r10), %r13d nop nop cmp %r10, %r10 lea addresses_A_ht+0x1d9a0, %rbx nop nop add $33157, %r10 mov (%rbx), %r14w nop nop nop nop dec %r10 lea ...
MOV SP 0x7fff MOV IP main main: MOV A 0x4 CALL func1 end_loop: db 0xffff 0xffff MOV IP end_loop func1: ADD A A A RET
; ; Copyright (c) 2020 Bitdefender ; SPDX-License-Identifier: Apache-2.0 ; section .text ; ; KERNEL_VMX.nasm - implements VMX ROOT / NON-ROOT (HOST / GUEST) switching ; %include "loader_interface.nasm" %ifdef __YASM_MAJOR__ %include "cpu_state_defs.nasm" %include "vcpu64.nasm" %include "pcpu.nasm" %else ...
// // Created by jefferson on 3/09/16. // #include "Operator.h"
page ,132 ;------------------------------Module-Header----------------------------; ; Module Name: alphaimg.asm ; ; Inner loop for alpha blending ; See alphablt.cxx:vAlphaPerPixelOnly() for explanation ; of algorithm. ; ; Created: 12-Mar-1997 ; Author: Mark Enstrom ; ; Copyright (c) 1997-1999 Mic...
#include <cstddef> #include <math.h> #include "AlgoArray.h" #include "DynArray.h" double mean(DynamicArray &dynArray) { double meanValue = sum(dynArray); return meanValue / (double)dynArray.m_length; } double median(DynamicArray &dynArray) { double medianValue = 0.0; std::size_t median_index = dynAr...
hello.o: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include <stdio.h> int main() { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 20 sub $0x20,%esp int a = 99; ...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a xor a, a ldff(0f), a ld a, 02 ldff(ff), a ei ld c, 0f .text@1000 lstatint: ld a, 08 ldff(41), a .text@105c xo...
; A109603: Numbers n such that 43*n - 41 is prime. ; Submitted by Jon Maiga ; 1,4,10,16,18,24,28,30,54,60,64,66,70,78,84,94,100,106,108,114,120,136,144,148,154,180,196,204,214,220,226,238,250,264,268,276,288,294,318,330,334,336,348,360,376,390,394,396,400,406,414 mov $2,36 mul $2,$0 mov $4,1 lpb $2 mov $3,$4 seq $...
; A129797: a(n) = floor(7^n/n). ; 7,24,114,600,3361,19608,117649,720600,4483734,28247524,179756976,1153440600,7453000800,48444505203,316504100662,2077058160600,13684147881600,90467422106136,599941851861744,3989613314880600 add $0,1 mov $1,7 pow $1,$0 div $1,$0
// Copyright 2012 the V8 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. #include "src/v8.h" #if V8_TARGET_ARCH_X87 #include "src/codegen.h" #include "src/deoptimizer.h" #include "src/full-codegen.h" #include "src/safepoint...
; A255070: (1/2)*(n minus number of runs in the binary expansion of n): a(n) = (n - A005811(n)) / 2 = A236840(n)/2. ; 0,0,0,1,1,1,2,3,3,3,3,4,5,5,6,7,7,7,7,8,8,8,9,10,11,11,11,12,13,13,14,15,15,15,15,16,16,16,17,18,18,18,18,19,20,20,21,22,23,23,23,24,24,24,25,26,27,27,27,28,29,29,30,31,31,31,31,32,32,32,33,34,34,34,34,...
; NES CHR-RAM tile loading routine ;==============================================================================; ; nes_LoadTiles ; Loads 2BPP NES tiles into the NES PPU. ; Destination PPU address should be set before calling this routine. ; (Params) ; tmp00,tmp01 - pointer to tile data ; tmp02 - number of til...
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "chain.h" #include "coins.h" #include "consensus/validati...
#include "util.hpp" #include "context.hpp" #include "output.hpp" #include "emitter.hpp" #include "utf8_string.hpp" namespace Sass { Emitter::Emitter(Context* ctx) : wbuf(), ctx(ctx), indentation(0), scheduled_space(0), scheduled_linefeed(0), scheduled_delimiter(false), in_comment(false), ...
SECTION "Map_3B31", ROM0[$B800] Map_3B31_Header: hdr_tileset 0 hdr_dimensions 7, 7 hdr_pointers_a Map_3B31_Blocks, Map_3B31_TextPointers hdr_pointers_b Map_3B31_Script, Map_3B31_Objects hdr_pointers_c Map_3B31_InitScript, Map_3B31_RAMScript hdr_palette $06 ...
; Purpose: ; Open port 3389 via Windows API [BITS 32] global _start _start: ;for the handle xor edx, edx mov edi, esp mov dword [edi], edx sub esp, 0x10 ;avoid handle being overwritten ;Prepare the key ; SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\Firewallpolicy\StandardProfile\GloballyO...
bits 64 section .text global start start: xor rax, rax ret
#include "Scroller.hpp" namespace psychic_ui { Scroller::Scroller(std::shared_ptr<Div> content) : Div(), _content(std::move(content)), _viewport(std::make_shared<Div>()) { _viewport->add(_content); _viewport->style() ->set(widthPercent, 1.0f) ...
; $Id: ASMAtomicXchgU16.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; IPRT - ASMAtomicXchgU16(). ; ; ; Copyright (C) 2006-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it an...
jsr $feeded00
/* ------------------------------------------------------------------ * Copyright (C) 2008 PacketVideo * * 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/li...
; A170119: Number of reduced words of length n in Coxeter group on 14 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I. ; 1,14,182,2366,30758,399854,5198102,67575326,878479238,11420230094,148462991222,1930018885886,25090245516518,326173191714734,4240251492291542,55123269399790046,716602502197270598 add $0,1 mo...
; A169113: Number of reduced words of length n in Coxeter group on 4 generators S_i with relations (S_i)^2 = (S_i S_j)^26 = I. ; 1,4,12,36,108,324,972,2916,8748,26244,78732,236196,708588,2125764,6377292,19131876,57395628,172186884,516560652,1549681956,4649045868,13947137604,41841412812,125524238436,376572715308,1129718...
;; Blacklight OS CPUID family/model mappings ;; 2011 Blacklight ; Blacklight OS is licensed under the Simplified BSD License (see license.txt) ; http://www.opensource.org/licenses/bsd-license.php %define EXTRA_CPUID ; CPUID vendor strings %define CPUID_VENDOR_OLDAMD "AMDisbetter!" %define CPUID_VENDOR_...
; A097064: Expansion of (1-4x+6x^2)/(1-2x)^2. ; 1,0,2,8,24,64,160,384,896,2048,4608,10240,22528,49152,106496,229376,491520,1048576,2228224,4718592,9961472,20971520,44040192,92274688,192937984,402653184,838860800,1744830464,3623878656,7516192768 mov $2,1 lpb $0 sub $0,$2 add $2,1 pow $2,$0 mul $2,$0 lpe mov $0,...
#include <iostream> #include <thread> #include "poly/irq_event_runtime.hpp" #include "poly/irq_event.hpp" #include "poly/irq_event_set.hpp" struct EventData { int number_; EventData(int number): number_(number) {} }; static void handle_event_data(etl::optional<EventData> data) { if (data) { std::...
; A067427: Seventh column of triangle A067425. ; Submitted by Jamie Morken(s3.) ; 1,10,280,7840,219520,6146560,172103680,4818903040,134929285120,3778019983360,105784559534080,2961967666954240,82935094674718720,2322182650892124160,65021114224979476480,1820591198299425341440,50976553552383909560320,1427343499466749467688...
extern m7_ippsAES_EncryptCFB16_MB:function extern n8_ippsAES_EncryptCFB16_MB:function extern y8_ippsAES_EncryptCFB16_MB:function extern e9_ippsAES_EncryptCFB16_MB:function extern l9_ippsAES_EncryptCFB16_MB:function extern n0_ippsAES_EncryptCFB16_MB:function extern k0_ippsAES_EncryptCFB16_MB:function extern ippcpJumpInd...
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // // Copyright (C) 2002 - 2016, The pgAdmin Development Team // This software is released under the PostgreSQL Licence // // frmExport.cpp - The export file dialogue // //////////////////////////////////////...
extern m7_ippsECCPGetSizeStdSM2:function extern n8_ippsECCPGetSizeStdSM2:function extern y8_ippsECCPGetSizeStdSM2:function extern e9_ippsECCPGetSizeStdSM2:function extern l9_ippsECCPGetSizeStdSM2:function extern n0_ippsECCPGetSizeStdSM2:function extern k0_ippsECCPGetSizeStdSM2:function extern ippcpJumpIndexForMergedLib...
#include "native_file_system.hpp" #include "base/file_block.hpp" #include "base/filesystem.hpp" #include "base/log.hpp" jkgm::native_file_system::native_file_system(fs::path const &base_path) : base_path(base_path) { return; } std::unique_ptr<jkgm::input_stream> jkgm::native_file_system::open(fs::path const &...
GLOBAL _call_int_80 section .text _call_int_80: int 80h ret
.MODEL SMALL .DATA NAMES db 'Barry B. Brey' MESS db 'Where can it be?' WHAT db 'What it on first.' .STACK 100H .code MAIN PROC mov ax,@DATA mov ds,ax mov ah,4ch int 21h MAIN ENDP END MAIN
; esxDOS.asm ; ; NOTE: File paths use the slash character ('/') as directory separator (UNIX style) esxDOS proc M_GETSETDRV equ $89 M_P3DOS equ $94 M_GETHANDLE equ $8D M_GETDATE equ $8E M_ERRH equ $95 F_OPEN equ $9A F_CLOSE ...
; A008763: Expansion of g.f.: x^4/((1-x)*(1-x^2)^2*(1-x^3)). ; 0,0,0,0,1,1,3,4,7,9,14,17,24,29,38,45,57,66,81,93,111,126,148,166,192,214,244,270,305,335,375,410,455,495,546,591,648,699,762,819,889,952,1029,1099,1183,1260,1352,1436,1536,1628,1736,1836,1953,2061,2187,2304,2439,2565,2710,2845,3000,3145,3310,3465,3641,3806...
; A017329: a(n) = 10*n + 5. ; 5,15,25,35,45,55,65,75,85,95,105,115,125,135,145,155,165,175,185,195,205,215,225,235,245,255,265,275,285,295,305,315,325,335,345,355,365,375,385,395,405,415,425,435,445,455,465,475,485,495,505,515,525,535,545,555,565,575,585,595,605,615,625,635,645,655,665,675,685,695,705,715,725,735,745,7...
CODE% = &1900 ORG CODE% LOAD% = &1900 \EXEC = l_197b key_io = &04 key_tube = &90 brkv = &0202 irq1v = &0204 bytev = &020A wrchv = &020E filev = &0212 fscv = &021E netv = &0224 ind2v = &0232 cmdr_iff = &036E oswrch = &FFEE osword = &FFF1 osbyte = &FFF4 oscli = &FFF7 .l_1900 EQUB &16, &04, &1C, &02, &11, &0F, &10,...
; A173955: a(n) = numerator of (Zeta(2, 3/4) - Zeta(2, n-1/4))/16 where Zeta(n, a) is the Hurwitz Zeta function. ; Submitted by Jamie Morken(w2) ; 0,1,58,7459,192404,70791869,37930481726,3100675399831,3000384410275816,3016572632600497,512004171837010018,950047080453398607307,2104850677799349861903388,609822785846772474...
;Acho que esse fibonacci ta errado (nao deu para copiar o exemplo do slide do bruno direito) SECTION TEXT COPY ZERO,OLDER COPY ONE,OLD INPUT LIMIT OUTPUT OLD FRONT: LOAD OLDER ADD OLD STORE NEW SUB LIMIT JMPP FINAL OUTPUT NEW COPY OLD,OLDER COPY NEW,OLD JMP FRONT FINAL: OUTPUT LIMIT ADD ZERO SUB ONE STOP SECTION DATA...
; A221731: Number of n X 2 arrays of occupancy after each element stays put or moves to some horizontal or antidiagonal neighbor, without move-in move-out left turns. ; 3,17,91,489,2627,14113,75819,407321,2188243,11755857,63155771,339290569,1822764387,9792403073,52607544139,282622526841,1518327722483,8156883666097,4382...
user/_echo: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: #include "kernel/stat.h" #include "user/user.h" int main(int argc, char *argv[]) { 0: 7179 addi sp,sp,-48 2: f406 sd ra,40(sp) 4: f022 sd s0,32(sp) 6: ec2...
TowerMons7: db $14 db 24,MISDREAVUS db 25,VULPIX db 26,HOOTHOOT db 27,GASTLY db 28,GASTLY db 23,GASTLY db 24,CUBONE db 29,GASTLY db 24,HAUNTER db 29,HAUNTER db $00
; A028029: Expansion of 1/((1-3x)(1-4x)(1-5x)(1-10x)). ; Submitted by Simon Strandgaard ; 1,22,317,3830,42381,447582,4608877,46813030,471994061,4740248942,47508048237,475624522230,4759030936141,47604501583102,476117036332397,4761534717751430,47617186000380621,476181122450194062 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mo...
; ; jcclrss2-64.asm - colorspace conversion (64-bit SSE2) ; ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; Copyright (C) 2009, D. R. Commander. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled with NASM (Netwide Ass...
#include "QtWidgets/QMenuBar/qmenubar_wrap.h" #include "QtWidgets/QMenu/qmenu_wrap.h" #include <nodegui/QtWidgets/QWidget/qwidget_wrap.h> #include <nodegui/Extras/Utils/nutils.h> #include <QWidget> Napi::FunctionReference QMenuBarWrap::constructor; Napi::Object QMenuBarWrap::init(Napi::Env env, Napi::Object exports) ...
; A132086: Record values in A132085. ; 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72 add $0,1
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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 ; ...
SECTION code_clib PUBLIC respixel EXTERN __gfx_coords ; ; $Id: respixl.asm,v 1.7 2016/07/02 09:01:36 dom Exp $ ; ; ****************************************************************** ; ; Erases pixel at (x,y) coordinate. ; ; Sharp MZ version. ; ; 80x50 rez. ; ; .respixel ld a,h cp 80 ret nc...
SECTION code_fp_math16 PUBLIC invsqrtf16 EXTERN asm_f16_invsqrt defc invsqrtf16 = asm_f16_invsqrt ; SDCC bridge for Classic IF __CLASSIC PUBLIC _invsqrtf16 EXTERN cm16_sdcc_invsqrt defc _invsqrtf16 = cm16_sdcc_invsqrt ENDIF
.ORG 0 .FILL 65536 .FILL 1 .END
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
; this code doesn’t do anything significant, it is just an example MOV N, R0 ; R0 = 7 address 0 XOR R1, R1 ; R1 = 0 address 2 MOV #20, R3 ; R3 = 20 address 3 ; memory is word addressable, so there isno ; problem in having odd addresses, why? Label3: ; address 5 MOV -(R3), M ; M = 5 , R3= 19 address 5 DEC R0 ; R0 = 6 ad...
;__SHOW_TIMING__ = 1 defm time_on ifdef __SHOW_TIMING__ lda #COL_/1 sta EXTCOL endif endm defm time_off ifdef __SHOW_TIMING__ lda #COL_BLACK sta EXTCOL endif endm defm plda ldy #/1 lda (P_PLAYER_LO),y endm defm pldy ...
kernel: file format elf32-i386 Disassembly of section .text: 00100000 <brelse>: } // Release the buffer buf. void brelse(struct buf *b) { 100000: 55 push %ebp 100001: 89 e5 mov %esp,%ebp 100003: 53 push %ebx 100004: 83 ec 14 sub ...
#include "midiplayer.h" #include <cstdio> #include "../ThirdLibrary/portmidi/include/portmidi.h" #include "../ThirdLibrary/portmidi/include/porttime.h" namespace MIDIPlayer { // Player::MIDIDevice static PortMidiStream*& getMIDIDevice(void* &data) { return reinterpret_cast<PortMidiStream*&>(data); } static Port...
;------------------------------------------------------------------------------ ; ; MemoryFence() for AArch64 ; ; Copyright (c) 2013, ARM Ltd. All rights reserved. ; ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this...
; ; OSCA C Library ; ; ANSI Video handling ; ; CLS - Clear the screen ; ; ; Stefano Bodrato - June 2012 ; ; ; $Id: f_ansi_cls.asm,v 1.1 2012/05/31 14:52:59 stefano Exp $ ; XLIB ansi_cls INCLUDE "flos.def" .ansi_cls jp kjt_clear_screen
// Copyright 2011 The Goma 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 "spawner_win.h" #include <process.h> #include <psapi.h> #pragma comment(lib, "psapi.lib") #include <algorithm> #include <deque> #include <memory> ...
C x86/sha1-compress.asm ifelse(< Copyright (C) 2004, 2009 Niels Möller This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; eithe...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %rax push %rbx push %rdi push %rsi // Store lea addresses_US+0x16980, %rdi nop and $5451, %r12 mov $0x5152535455565758, %r11 movq %r11, %xmm3 vmovaps %ymm3, (%rdi) nop nop nop nop nop xor $5981...
// Copyright (c) 2019 by Robert Bosch GmbH. 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 // // Unless required...
; A168660: a(n) = n^7*(n^3 + 1)/2. ; 0,1,576,30618,532480,4921875,30373056,141649396,537919488,1745783685,5005000000,12978455886,30976598016,68960620183,144680034240,288410625000,549890031616,1008202119561,1785539723328,3065980064770,5120640000000,8340841033371,13281208574656,20714958019548,31703983718400,4768676757812...
; A194807: Decimal expansion of 1/(e-2). ; Submitted by Jon Maiga ; 1,3,9,2,2,1,1,1,9,1,1,7,7,3,3,2,8,1,4,3,7,6,5,5,2,8,7,8,4,7,9,8,1,6,5,2,8,3,7,3,9,7,8,3,8,5,3,1,5,2,8,7,1,2,3,5,9,1,3,2,4,5,6,7,0,8,3,2,7,9,5,7,0,4,6,1,6,1,0,9,2,6,6,9,1,7,1,0,5,8,7,2,6,7,6,1,2,9,9,8 mov $1,1 mov $2,1 mov $3,$0 mul $3,4 lpb $3 mul $...
; A224317: a(n) = a(n-1) + 3 - a(n-1)!. ; 1,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2 mov $1,2 lpb $0 sub $0,1 mod $0,3 add $1,2 mod $1,5 lpe sub $1,1 mov $0,$1
global _start section .text PrintMessageProc: ; Print message mov eax, 0x4 mov ebx, 0x1 mov ecx, message mov edx, mlen int 0x80 ret _start: mov ecx, 0x10 PrintMessageLoop: push rcx call PrintMessageProc pop rcx loop PrintMessageLoop mov eax, 0x1 mov ebx, 0x0 ...
/*************************************************** * Problem name : 11774 Doom’s Day.cpp * Problem Link : https://uva.onlinejudge.org/external/117/11774.pdf * OJ : Uva * Verdict : AC * Date : 2017-07-23 * Problem Type : AdHoc * Author Name : Saikat Sharma * University : CSE,MBSTU **...
; ; BASIC driver support file, used by "open" and "close" ; ; Stefano - 5/7/2006 ; ; $Id: zxhandl.asm,v 1.2 2015-01-19 01:32:43 pauloscustodio Exp $ PUBLIC zxhandl ; handles: list of used streams, we keep #14 an #15 reserved, ; 10 files open at once should be enough. ; #3 is used for printer, #1 a...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args=""/> <%docstring> Invokes the syscall getuid. See 'man 2 getuid' for more information. Arguments: </%docstring> ${syscall('SYS_getuid')}
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/athena/model/ResultConfigurationUpdates.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace A...
; void *zx_cxy2aaddr(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC zx_cxy2aaddr_callee EXTERN asm_zx_cxy2aaddr zx_cxy2aaddr_callee: pop hl pop de ex (sp),hl ld h,e jp asm_zx_cxy2aaddr
; A112526: Characteristic function for powerful numbers. ; 1,0,0,1,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,1,0,0,0...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1994 -- All Rights Reserved PROJECT: MODULE: FILE: utilsEC.asm AUTHOR: Adam de Boor, May 26, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description...
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...